[clang] [Clang][Sema] Use the correct injected template arguments for partial specializations when collecting multi-level template argument lists (PR #112381)

Younan Zhang via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 15 16:55:12 PDT 2024


================
@@ -2085,7 +2085,9 @@ class ClassTemplateSpecializationDecl : public CXXRecordDecl,
 class ClassTemplatePartialSpecializationDecl
   : public ClassTemplateSpecializationDecl {
   /// The list of template parameters
-  TemplateParameterList* TemplateParams = nullptr;
+  TemplateParameterList *TemplateParams = nullptr;
+
+  TemplateArgument *InjectedArgs = nullptr;
----------------
zyn0217 wrote:

Do we need serialization?

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


More information about the cfe-commits mailing list