[clang] [Clang][Sema] qualifier should be transformed (PR #94725)

Qizhi Hu via cfe-commits cfe-commits at lists.llvm.org
Sat Jun 22 20:34:03 PDT 2024


jcsxky wrote:

> I still don't understand why you are saying we didn't or can't build a DependentTemplateSpecializationType instead.

I mean we can transform `QualifiedTemplateName` to `DependentTemplateName` and this is what this patch does. If we build a `DependentTemplateName` instead of `QualifiedTemplateName` earlier would affect the code in partial specialization like:
```cpp
template<typename T>
struct A<T*>::B<T*>
```


https://github.com/llvm/llvm-project/pull/94725


More information about the cfe-commits mailing list