From: Axel Naumann Date: Fri, 26 Sep 2014 09:57:59 +0000 (+0200) Subject: Use the fully qualified name. X-Git-Tag: v6-02-00~23 X-Git-Url: https://root.cern.ch/gitweb?p=root.git;a=commitdiff_plain;h=6801417e6f3954c61c5fe24b1cdb6cbed4ff35c0 Use the fully qualified name. (cherry picked from commit accc23e668151c53b8095438efc252b4d429e50e) --- diff --git a/interpreter/cling/lib/Interpreter/Value.cpp b/interpreter/cling/lib/Interpreter/Value.cpp index 144f971..3a7b28f 100644 --- a/interpreter/cling/lib/Interpreter/Value.cpp +++ b/interpreter/cling/lib/Interpreter/Value.cpp @@ -339,6 +339,7 @@ namespace cling { QualType ValueTy = this->getType().getNonReferenceType(); if (!ValueTy->isPointerType()) ValueTy = C.getPointerType(ValueTy); + ValueTy = utils::TypeName::GetFullyQualifiedType(ValueTy, getASTContext()); PrintingPolicy Policy(m_Interpreter->getCI()->getLangOpts()); std::string ValueTyStr = ValueTy.getAsString(Policy); std::string typeStr;