Misc adaptations for updated APIs

This commit is contained in:
Jonas Hahnfeld 2023-07-10 08:54:42 +02:00 committed by jenkins
parent 3b4ec36268
commit 6bfe4c2213

View File

@ -1273,7 +1273,7 @@ namespace cling {
Visit(TN.getAsTemplateDecl());
break;
case clang::TemplateName::QualifiedTemplate:
Visit(TN.getAsQualifiedTemplateName()->getTemplateDecl());
Visit(TN.getAsQualifiedTemplateName()->getUnderlyingTemplate().getAsTemplateDecl());
break;
case clang::TemplateName::DependentTemplate:
VisitNestedNameSpecifier(TN.getAsDependentTemplateName()->getQualifier());