Be sure to complete base classes when importing them.

llvm-svn: 234771
This commit is contained in:
Greg Clayton 2015-04-13 18:32:54 +00:00
parent f4a92bda49
commit 6292b30bab
1 changed files with 4 additions and 1 deletions

View File

@ -274,7 +274,10 @@ ClangASTImporter::CompleteObjCInterfaceDecl (clang::ObjCInterfaceDecl *interface
if (minion_sp)
minion_sp->ImportDefinitionTo(interface_decl, decl_origin.decl);
if (ObjCInterfaceDecl *super_class = interface_decl->getSuperClass())
RequireCompleteType(clang::QualType(super_class->getTypeForDecl(), 0));
return true;
}