Lines Matching refs:ObjCProtocolDecl
74 if (isa<ObjCProtocolDecl>(method->getDeclContext())) {
562 IDecl->setProtocolList((ObjCProtocolDecl*const*)ProtoRefs, NumProtoRefs,
624 const ObjCList<ObjCProtocolDecl> &PList) {
627 for (ObjCList<ObjCProtocolDecl>::iterator I = PList.begin(),
629 if (ObjCProtocolDecl *PDecl = LookupProtocol((*I)->getIdentifier(),
660 ObjCProtocolDecl *PrevDecl = LookupProtocol(ProtocolName, ProtocolLoc,
662 ObjCProtocolDecl *PDecl = 0;
663 if (ObjCProtocolDecl *Def = PrevDecl? PrevDecl->getDefinition() : 0) {
672 PDecl = ObjCProtocolDecl::Create(Context, CurContext, ProtocolName,
680 ObjCList<ObjCProtocolDecl> PList;
681 PList.set((ObjCProtocolDecl *const*)ProtoRefs, NumProtoRefs, Context);
687 PDecl = ObjCProtocolDecl::Create(Context, CurContext, ProtocolName,
704 PDecl->setProtocolList((ObjCProtocolDecl*const*)ProtoRefs, NumProtoRefs,
721 ObjCProtocolDecl *PDecl = LookupProtocol(ProtocolId[i].first,
724 DeclFilterCCC<ObjCProtocolDecl> Validator;
728 if ((PDecl = Corrected.getCorrectionDeclAs<ObjCProtocolDecl>())) {
793 ObjCProtocolDecl *PrevDecl = LookupProtocol(Ident, IdentList[i].second,
795 ObjCProtocolDecl *PDecl
796 = ObjCProtocolDecl::Create(Context, CurContext, Ident,
869 CDecl->setProtocolList((ObjCProtocolDecl*const*)ProtoRefs, NumProtoRefs,
873 IDecl->mergeClassExtensionProtocolList((ObjCProtocolDecl*const*)ProtoRefs,
1565 ObjCProtocolDecl *PDecl,
1605 for (ObjCProtocolDecl::instmeth_iterator I = PDecl->instmeth_begin(),
1638 for (ObjCProtocolDecl::classmeth_iterator
1661 for (ObjCProtocolDecl::protocol_iterator PI = PDecl->protocol_begin(),
1701 isa<ObjCProtocolDecl>(CDecl));
1704 isa<ObjCProtocolDecl>(CDecl));
1728 isa<ObjCProtocolDecl>(CDecl));
1731 isa<ObjCProtocolDecl>(CDecl));
2326 || isa<ObjCProtocolDecl>(ClassDecl);
2692 void searchFrom(ObjCProtocolDecl *protocol) {
2795 if (isa<ObjCProtocolDecl>(overridden->getDeclContext()) ||
2814 isa<ObjCProtocolDecl>(overridden->getDeclContext()));