Don't bother rewriting an Objective-C class or protocol declaration to the module file when we've merely added a definition
llvm-svn: 147414
This commit is contained in:
parent
42ff1bb922
commit
c51118238c
|
@ -4428,8 +4428,6 @@ void ASTWriter::AddedObjCCategoryToInterface(const ObjCCategoryDecl *CatD,
|
|||
|
||||
void ASTWriter::CompletedObjCForwardRef(const ObjCContainerDecl *D) {
|
||||
assert(!WritingAST && "Already writing the AST!");
|
||||
if (D->isFromASTFile())
|
||||
RewriteDecl(D);
|
||||
|
||||
if (const ObjCInterfaceDecl *ID = dyn_cast<ObjCInterfaceDecl>(D)) {
|
||||
for (ObjCInterfaceDecl::redecl_iterator I = ID->redecls_begin(),
|
||||
|
|
Loading…
Reference in New Issue