[clang] [Clang][Sema] Use the correct injected template arguments for partial specializations when collecting multi-level template argument lists (PR #112381)
Matheus Izvekov via cfe-commits
cfe-commits at lists.llvm.org
Tue Oct 15 19:05:40 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;
----------------
mizvekov wrote:
This is just for catching the injected arguments. If we don't serialize these, they will be just rebuilt anyway.
https://github.com/llvm/llvm-project/pull/112381
More information about the cfe-commits
mailing list