From: Axel Naumann Date: Mon, 22 Sep 2014 13:04:01 +0000 (+0200) Subject: Desugar to simplify the type. X-Git-Tag: v6-02-00-rc1~37 X-Git-Url: https://root.cern.ch/gitweb?p=root.git;a=commitdiff_plain;h=4d2b3f73dafe700cdfee7ed342f5bb17a814109c Desugar to simplify the type. --- diff --git a/interpreter/cling/lib/Interpreter/ForwardDeclPrinter.h b/interpreter/cling/lib/Interpreter/ForwardDeclPrinter.h index c739f61..34f7bc0 100644 --- a/interpreter/cling/lib/Interpreter/ForwardDeclPrinter.h +++ b/interpreter/cling/lib/Interpreter/ForwardDeclPrinter.h @@ -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);