Lines Matching refs:ToProto
3512 ObjCProtocolDecl *ToProto in VisitObjCCategoryDecl() local
3514 if (!ToProto) in VisitObjCCategoryDecl()
3516 Protocols.push_back(ToProto); in VisitObjCCategoryDecl()
3566 ObjCProtocolDecl *ToProto in ImportDefinition() local
3568 if (!ToProto) in ImportDefinition()
3570 Protocols.push_back(ToProto); in ImportDefinition()
3619 ObjCProtocolDecl *ToProto = MergeWithProtocol; in VisitObjCProtocolDecl() local
3620 if (!ToProto) { in VisitObjCProtocolDecl()
3621 ToProto = ObjCProtocolDecl::Create(Importer.getToContext(), DC, in VisitObjCProtocolDecl()
3625 ToProto->setLexicalDeclContext(LexicalDC); in VisitObjCProtocolDecl()
3626 LexicalDC->addDeclInternal(ToProto); in VisitObjCProtocolDecl()
3629 Importer.Imported(D, ToProto); in VisitObjCProtocolDecl()
3631 if (D->isThisDeclarationADefinition() && ImportDefinition(D, ToProto)) in VisitObjCProtocolDecl()
3634 return ToProto; in VisitObjCProtocolDecl()
3727 ObjCProtocolDecl *ToProto in ImportDefinition() local
3729 if (!ToProto) in ImportDefinition()
3731 Protocols.push_back(ToProto); in ImportDefinition()
5486 } else if (ObjCProtocolDecl *ToProto = dyn_cast<ObjCProtocolDecl>(ToDC)) { in ImportContext() local
5488 if (ToProto->getDefinition()) { in ImportContext()
5491 ASTNodeImporter(*this).ImportDefinition(FromDef, ToProto, in ImportContext()
5494 CompleteDecl(ToProto); in ImportContext()
5774 if (ObjCProtocolDecl *ToProto = dyn_cast<ObjCProtocolDecl>(To)) { in ImportDefinition() local
5775 if (!ToProto->getDefinition()) { in ImportDefinition()
5776 Importer.ImportDefinition(cast<ObjCProtocolDecl>(FromDC), ToProto, in ImportDefinition()