forked from OSchip/llvm-project
Be sure to complete base classes when importing them.
llvm-svn: 234771
This commit is contained in:
parent
f4a92bda49
commit
6292b30bab
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue