[clang] [Clang][Sema] Use the correct injected template arguments for partial specializations when collecting multi-level template argument lists (PR #112381)
Krystian Stasiowski via cfe-commits
cfe-commits at lists.llvm.org
Wed Oct 16 07:37:13 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;
----------------
sdkrystian wrote:
Yeah, like @mizvekov said we don't serialize injected template arguments
https://github.com/llvm/llvm-project/pull/112381
More information about the cfe-commits
mailing list