We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3764c06 commit c98fa2dCopy full SHA for c98fa2d
clang/lib/AST/ASTImporter.cpp
@@ -6190,7 +6190,8 @@ ExpectedDecl ASTNodeImporter::VisitClassTemplateDecl(ClassTemplateDecl *D) {
6190
ExpectedDecl ASTNodeImporter::VisitClassTemplateSpecializationDecl(
6191
ClassTemplateSpecializationDecl *D) {
6192
ClassTemplateDecl *ClassTemplate;
6193
- if (Error Err = importInto(ClassTemplate, D->getSpecializedTemplate()))
+ if (Error Err = importInto(ClassTemplate,
6194
+ D->getSpecializedTemplate()->getCanonicalDecl()))
6195
return std::move(Err);
6196
6197
// Import the context of this declaration.
0 commit comments