[clang] [Clang][Sema] Use correct TemplateName when transforming TemplateSpecializationType (PR #93411)

Qizhi Hu via cfe-commits cfe-commits at lists.llvm.org
Thu May 30 01:59:33 PDT 2024


jcsxky wrote:

> So After we have formed a TemplateSpecializationType, we are done with the NNS. We keep it around in an ElaboratedType for type sugar only, it should not be needed to compile the program correctly anymore.
> 
> So I think this solution violates one important aspect of our AST design.
> 
> If we still need the NNS, we have to hold-off on building the TST until we don't.

Ah, I see. Thanks for your explanation on the motivation of AST design!

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


More information about the cfe-commits mailing list