Lines Matching refs:ToProto
3736 ObjCProtocolDecl *ToProto in VisitObjCCategoryDecl() local
3738 if (!ToProto) in VisitObjCCategoryDecl()
3740 Protocols.push_back(ToProto); in VisitObjCCategoryDecl()
3790 ObjCProtocolDecl *ToProto in ImportDefinition() local
3792 if (!ToProto) in ImportDefinition()
3794 Protocols.push_back(ToProto); in ImportDefinition()
3843 ObjCProtocolDecl *ToProto = MergeWithProtocol; in VisitObjCProtocolDecl() local
3844 if (!ToProto) { in VisitObjCProtocolDecl()
3845 ToProto = ObjCProtocolDecl::Create(Importer.getToContext(), DC, in VisitObjCProtocolDecl()
3849 ToProto->setLexicalDeclContext(LexicalDC); in VisitObjCProtocolDecl()
3850 LexicalDC->addDeclInternal(ToProto); in VisitObjCProtocolDecl()
3853 Importer.Imported(D, ToProto); in VisitObjCProtocolDecl()
3855 if (D->isThisDeclarationADefinition() && ImportDefinition(D, ToProto)) in VisitObjCProtocolDecl()
3858 return ToProto; in VisitObjCProtocolDecl()
3951 ObjCProtocolDecl *ToProto in ImportDefinition() local
3953 if (!ToProto) in ImportDefinition()
3955 Protocols.push_back(ToProto); in ImportDefinition()
6184 } else if (ObjCProtocolDecl *ToProto = dyn_cast<ObjCProtocolDecl>(ToDC)) { in ImportContext() local
6186 if (ToProto->getDefinition()) { in ImportContext()
6189 ASTNodeImporter(*this).ImportDefinition(FromDef, ToProto, in ImportContext()
6192 CompleteDecl(ToProto); in ImportContext()
6538 if (ObjCProtocolDecl *ToProto = dyn_cast<ObjCProtocolDecl>(To)) { in ImportDefinition() local
6539 if (!ToProto->getDefinition()) { in ImportDefinition()
6540 Importer.ImportDefinition(cast<ObjCProtocolDecl>(FromDC), ToProto, in ImportDefinition()