getQualifiedTemplateName takes a TemplateName

This commit is contained in:
Jonas Hahnfeld 2023-01-20 11:31:33 +01:00 committed by jenkins
parent 85c348828f
commit 15b5de6398

View File

@ -218,9 +218,12 @@ namespace utils {
NNS = CreateNestedNameSpecifierForScopeOf(Ctx, argtdecl, true);
}
if (NNS) {
TemplateName UnderlyingTN(argtdecl);
if (UsingShadowDecl *USD = tname.getAsUsingShadowDecl())
UnderlyingTN = TemplateName(USD);
tname = Ctx.getQualifiedTemplateName(NNS,
/*TemplateKeyword=*/ false,
argtdecl);
UnderlyingTN);
changed = true;
}
return changed;