summaryrefslogtreecommitdiffstats
path: root/lldb/source/Core/ValueObjectDynamicValue.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2011-06-30 02:28:26 +0000
committerGreg Clayton <gclayton@apple.com>2011-06-30 02:28:26 +0000
commite305594277de342f49b92fb5e4849b3fc13a8de0 (patch)
tree131c85af82155042afe56cf519221a39fe2314f3 /lldb/source/Core/ValueObjectDynamicValue.cpp
parentcfe3b14d7787f5d563d28266a7f04c3d18311105 (diff)
downloadbcm5719-llvm-e305594277de342f49b92fb5e4849b3fc13a8de0.tar.gz
bcm5719-llvm-e305594277de342f49b92fb5e4849b3fc13a8de0.zip
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
Diffstat (limited to 'lldb/source/Core/ValueObjectDynamicValue.cpp')
-rw-r--r--lldb/source/Core/ValueObjectDynamicValue.cpp2
1 files changed, 1 insertions, 1 deletions
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();
}
OpenPOWER on IntegriCloud