Complete the superclass type when completing an
authorSean Callanan <scallanan@apple.com>
Fri, 31 Oct 2014 23:55:36 +0000 (23:55 +0000)
committerSean Callanan <scallanan@apple.com>
Fri, 31 Oct 2014 23:55:36 +0000 (23:55 +0000)
Objective-C class type.

llvm-svn: 221022

lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCTypeVendor.cpp

index 5b0f889..d75e6c7 100644 (file)
@@ -449,8 +449,12 @@ AppleObjCTypeVendor::FinishDecl(clang::ObjCInterfaceDecl *interface_decl)
     auto superclass_func = [interface_decl, this](ObjCLanguageRuntime::ObjCISA isa)
     {
         clang::ObjCInterfaceDecl *superclass_decl = GetDeclForISA(isa);
+        
         if (!superclass_decl)
             return;
+        
+        FinishDecl(superclass_decl);
+        
         interface_decl->setSuperClass(superclass_decl);
     };