summaryrefslogtreecommitdiffstats
path: root/lldb/source/Expression/ClangExpressionDeclMap.cpp
diff options
context:
space:
mode:
authorSean Callanan <scallanan@apple.com>2013-12-20 04:09:05 +0000
committerSean Callanan <scallanan@apple.com>2013-12-20 04:09:05 +0000
commitf4c0a221bc508f014ef0a466b6ea6a7ff72b18ef (patch)
tree00738cdf286e48a016744940f5424283caf56bb5 /lldb/source/Expression/ClangExpressionDeclMap.cpp
parent090e11975d7a37c2bcf552f179a1b5d93fcbafc4 (diff)
downloadbcm5719-llvm-f4c0a221bc508f014ef0a466b6ea6a7ff72b18ef.tar.gz
bcm5719-llvm-f4c0a221bc508f014ef0a466b6ea6a7ff72b18ef.zip
Fixed the AST importer to ensure that base classes
of Objective-C classes are completed, and that variables of Objective-C types have their types completed when the variables are reported. This fixes a long-standing issue where ivars did not show up correctly on 32-bit OS X. <rdar://problem/12184093> llvm-svn: 197775
Diffstat (limited to 'lldb/source/Expression/ClangExpressionDeclMap.cpp')
-rw-r--r--lldb/source/Expression/ClangExpressionDeclMap.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lldb/source/Expression/ClangExpressionDeclMap.cpp b/lldb/source/Expression/ClangExpressionDeclMap.cpp
index 87c984ddcfb..64ef98297cd 100644
--- a/lldb/source/Expression/ClangExpressionDeclMap.cpp
+++ b/lldb/source/Expression/ClangExpressionDeclMap.cpp
@@ -1605,6 +1605,8 @@ ClangExpressionDeclMap::AddOneVariable (NameSearchContext &context, VariableSP v
{
if (const TagType *tag_type = dyn_cast<TagType>(parser_type))
CompleteType(tag_type->getDecl());
+ if (const ObjCObjectPointerType *objc_object_ptr_type = dyn_cast<ObjCObjectPointerType>(parser_type))
+ CompleteType(objc_object_ptr_type->getInterfaceDecl());
}
OpenPOWER on IntegriCloud