summaryrefslogtreecommitdiffstats
path: root/lldb/source/Core/ValueObjectConstResult.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/ValueObjectConstResult.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/ValueObjectConstResult.cpp')
-rw-r--r--lldb/source/Core/ValueObjectConstResult.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Core/ValueObjectConstResult.cpp b/lldb/source/Core/ValueObjectConstResult.cpp
index fbb35eb42aa..7ceddc99607 100644
--- a/lldb/source/Core/ValueObjectConstResult.cpp
+++ b/lldb/source/Core/ValueObjectConstResult.cpp
@@ -273,7 +273,7 @@ ConstString
ValueObjectConstResult::GetTypeName()
{
if (m_type_name.IsEmpty())
- m_type_name = ClangASTType::GetClangTypeName (GetClangType());
+ m_type_name = ClangASTType::GetConstTypeName (GetClangType());
return m_type_name;
}
OpenPOWER on IntegriCloud