• Home
  • Raw
  • Download

Lines Matching refs:ObjCProtocolDecl

121     bool ImportDefinition(ObjCProtocolDecl *From, ObjCProtocolDecl *To,
162 Decl *VisitObjCProtocolDecl(ObjCProtocolDecl *D);
1972 SmallVector<ObjCProtocolDecl *, 4> Protocols; in VisitObjCObjectType()
1974 ObjCProtocolDecl *Protocol in VisitObjCObjectType()
1975 = dyn_cast_or_null<ObjCProtocolDecl>(Importer.Import(P)); in VisitObjCObjectType()
3728 SmallVector<ObjCProtocolDecl *, 4> Protocols; in VisitObjCCategoryDecl()
3736 ObjCProtocolDecl *ToProto in VisitObjCCategoryDecl()
3737 = cast_or_null<ObjCProtocolDecl>(Importer.Import(*FromProto)); in VisitObjCCategoryDecl()
3769 bool ASTNodeImporter::ImportDefinition(ObjCProtocolDecl *From, in ImportDefinition()
3770 ObjCProtocolDecl *To, in ImportDefinition()
3782 SmallVector<ObjCProtocolDecl *, 4> Protocols; in ImportDefinition()
3784 ObjCProtocolDecl::protocol_loc_iterator in ImportDefinition()
3786 for (ObjCProtocolDecl::protocol_iterator FromProto = From->protocol_begin(), in ImportDefinition()
3790 ObjCProtocolDecl *ToProto in ImportDefinition()
3791 = cast_or_null<ObjCProtocolDecl>(Importer.Import(*FromProto)); in ImportDefinition()
3809 Decl *ASTNodeImporter::VisitObjCProtocolDecl(ObjCProtocolDecl *D) { in VisitObjCProtocolDecl()
3813 ObjCProtocolDecl *Definition = D->getDefinition(); in VisitObjCProtocolDecl()
3832 ObjCProtocolDecl *MergeWithProtocol = nullptr; in VisitObjCProtocolDecl()
3839 if ((MergeWithProtocol = dyn_cast<ObjCProtocolDecl>(FoundDecls[I]))) in VisitObjCProtocolDecl()
3843 ObjCProtocolDecl *ToProto = MergeWithProtocol; in VisitObjCProtocolDecl()
3845 ToProto = ObjCProtocolDecl::Create(Importer.getToContext(), DC, in VisitObjCProtocolDecl()
3942 SmallVector<ObjCProtocolDecl *, 4> Protocols; in ImportDefinition()
3951 ObjCProtocolDecl *ToProto in ImportDefinition()
3952 = cast_or_null<ObjCProtocolDecl>(Importer.Import(*FromProto)); in ImportDefinition()
6184 } else if (ObjCProtocolDecl *ToProto = dyn_cast<ObjCProtocolDecl>(ToDC)) { in ImportContext()
6185 ObjCProtocolDecl *FromProto = cast<ObjCProtocolDecl>(FromDC); in ImportContext()
6188 } else if (ObjCProtocolDecl *FromDef = FromProto->getDefinition()) { in ImportContext()
6538 if (ObjCProtocolDecl *ToProto = dyn_cast<ObjCProtocolDecl>(To)) { in ImportDefinition()
6540 Importer.ImportDefinition(cast<ObjCProtocolDecl>(FromDC), ToProto, in ImportDefinition()
6658 else if (ObjCProtocolDecl *PD = dyn_cast<ObjCProtocolDecl>(D)) { in CompleteDecl()