From e305594277de342f49b92fb5e4849b3fc13a8de0 Mon Sep 17 00:00:00 2001 From: Greg Clayton Date: Thu, 30 Jun 2011 02:28:26 +0000 Subject: Centralize all of the type name code so that we always strip the leading "struct ", "class ", and "union " from the start of any type names that are extracted from clang QualType objects. I had to fix test suite cases that were expecting the struct/union/class prefix to be there. llvm-svn: 134132 --- lldb/source/Core/ValueObjectDynamicValue.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lldb/source/Core/ValueObjectDynamicValue.cpp') diff --git a/lldb/source/Core/ValueObjectDynamicValue.cpp b/lldb/source/Core/ValueObjectDynamicValue.cpp index 0188ad2099f..0a90b85bfdd 100644 --- a/lldb/source/Core/ValueObjectDynamicValue.cpp +++ b/lldb/source/Core/ValueObjectDynamicValue.cpp @@ -62,7 +62,7 @@ ValueObjectDynamicValue::GetTypeName() { const bool success = UpdateValueIfNeeded(); if (success && m_type_sp) - return ClangASTType::GetClangTypeName (GetClangType()); + return ClangASTType::GetConstTypeName (GetClangType()); else return m_parent->GetTypeName(); } -- cgit v1.2.3