Revert "In TypeName::GetFullyQualifiedType, strip SubstTemplateTypeParmType."
This reverts commit 5190ebeb2eb0ac527881ab1c91401b20f4e54b39. It fails on roottest/root/meta/dictSelection:execAtlasTest2
This commit is contained in:
parent
f1fd8d0fd0
commit
040bad9a53
@ -1515,19 +1515,6 @@ namespace utils {
|
||||
return QT;
|
||||
}
|
||||
|
||||
// Remove the part of the type related to the type being a template
|
||||
// parameter (we won't report it as part of the 'type name' and it is
|
||||
// actually make the code below to be more complex (to handle those)
|
||||
while (isa<SubstTemplateTypeParmType>(QT.getTypePtr())) {
|
||||
// Get the qualifiers.
|
||||
Qualifiers quals = QT.getQualifiers();
|
||||
|
||||
QT = dyn_cast<SubstTemplateTypeParmType>(QT.getTypePtr())->desugar();
|
||||
|
||||
// Add back the qualifiers.
|
||||
QT = Ctx.getQualifiedType(QT, quals);
|
||||
}
|
||||
|
||||
NestedNameSpecifier* prefix = 0;
|
||||
Qualifiers prefix_qualifiers;
|
||||
if (const ElaboratedType* etype_input
|
||||
|
Loading…
x
Reference in New Issue
Block a user