Lines Matching refs:ToProto
3374 ObjCProtocolDecl *ToProto in VisitObjCCategoryDecl() local
3376 if (!ToProto) in VisitObjCCategoryDecl()
3378 Protocols.push_back(ToProto); in VisitObjCCategoryDecl()
3428 ObjCProtocolDecl *ToProto in ImportDefinition() local
3430 if (!ToProto) in ImportDefinition()
3432 Protocols.push_back(ToProto); in ImportDefinition()
3478 ObjCProtocolDecl *ToProto = MergeWithProtocol; in VisitObjCProtocolDecl() local
3479 if (!ToProto) { in VisitObjCProtocolDecl()
3480 ToProto = ObjCProtocolDecl::Create(Importer.getToContext(), DC, in VisitObjCProtocolDecl()
3484 ToProto->setLexicalDeclContext(LexicalDC); in VisitObjCProtocolDecl()
3485 LexicalDC->addDeclInternal(ToProto); in VisitObjCProtocolDecl()
3488 Importer.Imported(D, ToProto); in VisitObjCProtocolDecl()
3490 if (D->isThisDeclarationADefinition() && ImportDefinition(D, ToProto)) in VisitObjCProtocolDecl()
3493 return ToProto; in VisitObjCProtocolDecl()
3588 ObjCProtocolDecl *ToProto in ImportDefinition() local
3590 if (!ToProto) in ImportDefinition()
3592 Protocols.push_back(ToProto); in ImportDefinition()
4748 } else if (ObjCProtocolDecl *ToProto = dyn_cast<ObjCProtocolDecl>(ToDC)) { in ImportContext() local
4750 if (ToProto->getDefinition()) { in ImportContext()
4753 ASTNodeImporter(*this).ImportDefinition(FromDef, ToProto, in ImportContext()
4756 CompleteDecl(ToProto); in ImportContext()
5035 if (ObjCProtocolDecl *ToProto = dyn_cast<ObjCProtocolDecl>(To)) { in ImportDefinition() local
5036 if (!ToProto->getDefinition()) { in ImportDefinition()
5037 Importer.ImportDefinition(cast<ObjCProtocolDecl>(FromDC), ToProto, in ImportDefinition()