From accc23e668151c53b8095438efc252b4d429e50e Mon Sep 17 00:00:00 2001
From: Axel Naumann <Axel.Naumann@cern.ch>
Date: Fri, 26 Sep 2014 11:57:59 +0200
Subject: [PATCH] Use the fully qualified name.

---
 interpreter/cling/lib/Interpreter/Value.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/interpreter/cling/lib/Interpreter/Value.cpp b/interpreter/cling/lib/Interpreter/Value.cpp
index 144f971381c..3a7b28f5361 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;
-- 
GitLab