[clang] Qualify non-dependent types of a class template with its declaration (PR #67566)

2023-10-17 Thread Luca Di sera via cfe-commits
https://github.com/diseraluca closed https://github.com/llvm/llvm-project/pull/67566 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Qualify non-dependent types of a class template with its declaration (PR #67566)

2023-10-17 Thread Luca Di sera via cfe-commits
diseraluca wrote: Closing this one, as we intend to maintain our own local version. https://github.com/llvm/llvm-project/pull/67566 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Qualify non-dependent types of a class template with its declaration (PR #67566)

2023-10-04 Thread Luca Di sera via cfe-commits
diseraluca wrote: > > @vgvassilev If that is an acceptable interface for the LLVM interface then, > > yes, it would be perfect from our side, and I'm more than happy to update > > the PR in the next few days. > > Just to be sure that I understood your proposal. > > `getFullyQualified*` calls

[clang] Qualify non-dependent types of a class template with its declaration (PR #67566)

2023-10-02 Thread Vassil Vassilev via cfe-commits
vgvassilev wrote: > @vgvassilev If that is an acceptable interface for the LLVM interface then, > yes, it would be perfect from our side, and I'm more than happy to update the > PR in the next few days. > > Just to be sure that I understood your proposal. > > `getFullyQualified*` calls will

[clang] Qualify non-dependent types of a class template with its declaration (PR #67566)

2023-10-01 Thread Luca Di sera via cfe-commits
diseraluca wrote: @vgvassilev If that is an acceptable interface for the LLVM interface then, yes, it would be perfect from our side, and I'm more than happy to update the PR in the next few days. Just to be sure that I understood your proposal. `getFullyQualified*` calls will accept a new

[clang] Qualify non-dependent types of a class template with its declaration (PR #67566)

2023-10-01 Thread Vassil Vassilev via cfe-commits
vgvassilev wrote: @diseraluca, since this code touches a case where we do some best effort recovery, would it be possible to change that interface to take a lambda/callback function and specialize it in your end to cover the docs case? https://github.com/llvm/llvm-project/pull/67566

[clang] Qualify non-dependent types of a class template with its declaration (PR #67566)

2023-10-01 Thread Luca Di sera via cfe-commits
diseraluca wrote: > I still do not see why the proposed solution would not work. If it solves > the minimal case that you provided in the description of this PR, I am afraid > that there is some bit from the Qt setup that we do not understand. I cannot for certain say if there is an issue or

[clang] Qualify non-dependent types of a class template with its declaration (PR #67566)

2023-09-30 Thread Vassil Vassilev via cfe-commits
vgvassilev wrote: > Wouldn't isExplicitSpecializationOrInstantiation be a stronger guarantee than > isExplicitSpecialization, such that it would exclude a superset of what is > excluded by isExplicitSpecialization? If I did not misunderstand their source > code. I wanted to filter out

[clang] Qualify non-dependent types of a class template with its declaration (PR #67566)

2023-09-30 Thread Luca Di sera via cfe-commits
diseraluca wrote: > > > > I gave it a quick try, and we would still end up with the same result > > > > in our codebase. But, generally, this would not probably be feasible > > > > for us as a solution. > > > > > > > > > do you have an idea why? Can you show the diff of the changes you made?

[clang] Qualify non-dependent types of a class template with its declaration (PR #67566)

2023-09-30 Thread Vassil Vassilev via cfe-commits
vgvassilev wrote: > > > I gave it a quick try, and we would still end up with the same result in > > > our codebase. But, generally, this would not probably be feasible for us > > > as a solution. > > > > > > do you have an idea why? Can you show the diff of the changes you made? Is > > the

[clang] Qualify non-dependent types of a class template with its declaration (PR #67566)

2023-09-29 Thread Luca Di sera via cfe-commits
diseraluca wrote: > > I gave it a quick try, and we would still end up with the same result in > > our codebase. But, generally, this would not probably be feasible for us as > > a solution. > > do you have an idea why? Can you show the diff of the changes you made? Is > the void

[clang] Qualify non-dependent types of a class template with its declaration (PR #67566)

2023-09-29 Thread Vassil Vassilev via cfe-commits
vgvassilev wrote: > I gave it a quick try, and we would still end up with the same result in our > codebase. But, generally, this would not probably be feasible for us as a > solution. do you have an idea why? Can you show the diff of the changes you made? Is the void specialization not

[clang] Qualify non-dependent types of a class template with its declaration (PR #67566)

2023-09-29 Thread Luca Di sera via cfe-commits
diseraluca wrote: > @diseraluca, thanks for the thorough description. The point of these routines > is to produce code that compiles. I am not sure if we change `Foo::Bar` > with `Foo::Bar` it will compile. > > > Due to the way the current codebase is set up, the chosen specialization is > >

[clang] Qualify non-dependent types of a class template with its declaration (PR #67566)

2023-09-29 Thread Vassil Vassilev via cfe-commits
vgvassilev wrote: @diseraluca, thanks for the thorough description. The point of these routines is to produce code that compiles. I am not sure if we change `Foo::Bar` with `Foo::Bar` it will compile. > Due to the way the current codebase is set up, the chosen specialization is > `QFuture`

[clang] Qualify non-dependent types of a class template with its declaration (PR #67566)

2023-09-27 Thread Matheus Izvekov via cfe-commits
mizvekov wrote: It's recommended to avoid introducing pure clang-format changes mixed with other non-style changes. The recommended way to avoid that is to run clang-format on the modified files on a separate commit, and then just merge that, no review required.

[clang] Qualify non-dependent types of a class template with its declaration (PR #67566)

2023-09-27 Thread Luca Di sera via cfe-commits
diseraluca wrote: Run clang-format on the patch. I made a bit of a mess as I haven't used the PR model in a very long time. Hopefully this is correct. https://github.com/llvm/llvm-project/pull/67566 ___ cfe-commits mailing list

[clang] Qualify non-dependent types of a class template with its declaration (PR #67566)

2023-09-27 Thread Luca Di sera via cfe-commits
https://github.com/diseraluca edited https://github.com/llvm/llvm-project/pull/67566 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Qualify non-dependent types of a class template with its declaration (PR #67566)

2023-09-27 Thread Luca Di sera via cfe-commits
https://github.com/diseraluca edited https://github.com/llvm/llvm-project/pull/67566 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits