diff options
author | Greg Clayton <gclayton@apple.com> | 2011-06-30 02:28:26 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2011-06-30 02:28:26 +0000 |
commit | e305594277de342f49b92fb5e4849b3fc13a8de0 (patch) | |
tree | 131c85af82155042afe56cf519221a39fe2314f3 /lldb/source/Core/ValueObjectConstResult.cpp | |
parent | cfe3b14d7787f5d563d28266a7f04c3d18311105 (diff) | |
download | bcm5719-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.cpp | 2 |
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; } |