Desugar to simplify the type.

This commit is contained in:
Axel Naumann 2014-09-22 15:04:01 +02:00 committed by sftnight
parent c2d0508988
commit 1881fd13bf

View File

@ -144,7 +144,11 @@ namespace cling {
void VisitTypeAliasTemplateDecl(clang::TypeAliasTemplateDecl* D);
// Not coming from the RecursiveASTVisitor
void Visit(clang::QualType QT) { Visit(QT.getTypePtr()); }
void Visit(clang::QualType QT) {
QT = utils::TypeName::GetFullyQualifiedType(QT);
QT = utils::Transform::GetPartiallyDesugaredType(QT);
Visit(.getTypePtr());
}
void Visit(const clang::Type* T);
void VisitNestedNameSpecifier(const clang::NestedNameSpecifier* NNS);
void VisitTemplateArgument(const clang::TemplateArgument& TA);