From c33ae024a64962cb38b64073a035a5fc36aa2214 Mon Sep 17 00:00:00 2001 From: Pavel Labath Date: Mon, 8 Jun 2015 22:27:10 +0000 Subject: 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 llvm-svn: 239360 --- lldb/source/Core/ValueObject.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lldb/source/Core/ValueObject.cpp') 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) -- cgit v1.2.3