summaryrefslogtreecommitdiffstats
path: root/lldb/source/Core/ValueObject.cpp
diff options
context:
space:
mode:
authorPavel Labath <labath@google.com>2015-06-08 22:27:10 +0000
committerPavel Labath <labath@google.com>2015-06-08 22:27:10 +0000
commitc33ae024a64962cb38b64073a035a5fc36aa2214 (patch)
tree4fff2e0f0c816610b412c932fbbb0a6b54ac861c /lldb/source/Core/ValueObject.cpp
parente6eea5d055d06db7aefdfa879ae052a2d34ab464 (diff)
downloadbcm5719-llvm-c33ae024a64962cb38b64073a035a5fc36aa2214.tar.gz
bcm5719-llvm-c33ae024a64962cb38b64073a035a5fc36aa2214.zip
Introduce a TypeSystem interface to support adding non-clang languages.
Reviewers: clayborg Reviewed By: clayborg Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D8712 Original Author: Ryan Brown <ribrdb@google.com> llvm-svn: 239360
Diffstat (limited to 'lldb/source/Core/ValueObject.cpp')
-rw-r--r--lldb/source/Core/ValueObject.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lldb/source/Core/ValueObject.cpp b/lldb/source/Core/ValueObject.cpp
index 8718b37b95e..48b8c5c8c2c 100644
--- a/lldb/source/Core/ValueObject.cpp
+++ b/lldb/source/Core/ValueObject.cpp
@@ -338,11 +338,11 @@ ValueObject::MaybeCalculateCompleteType ()
ClangASTType class_type;
bool is_pointer_type = false;
- if (clang_type.IsObjCObjectPointerType(&class_type))
+ if (ClangASTContext::IsObjCObjectPointerType(clang_type, &class_type))
{
is_pointer_type = true;
}
- else if (clang_type.IsObjCObjectOrInterfaceType())
+ else if (ClangASTContext::IsObjCObjectOrInterfaceType(clang_type))
{
class_type = clang_type;
}
@@ -2419,7 +2419,7 @@ ValueObject::GetBaseClassPath (Stream &s)
bool parent_had_base_class = GetParent() && GetParent()->GetBaseClassPath (s);
ClangASTType clang_type = GetClangType();
std::string cxx_class_name;
- bool this_had_base_class = clang_type.GetCXXClassName (cxx_class_name);
+ bool this_had_base_class = ClangASTContext::GetCXXClassName (clang_type, cxx_class_name);
if (this_had_base_class)
{
if (parent_had_base_class)
OpenPOWER on IntegriCloud