Lines Matching refs:ObjCProtocolDecl
74 if (isa<ObjCProtocolDecl>(method->getDeclContext())) {
495 IDecl->setProtocolList((ObjCProtocolDecl**)ProtoRefs, NumProtoRefs,
557 const ObjCList<ObjCProtocolDecl> &PList) {
560 for (ObjCList<ObjCProtocolDecl>::iterator I = PList.begin(),
562 if (ObjCProtocolDecl *PDecl = LookupProtocol((*I)->getIdentifier(),
593 ObjCProtocolDecl *PrevDecl = LookupProtocol(ProtocolName, ProtocolLoc,
595 ObjCProtocolDecl *PDecl = 0;
596 if (ObjCProtocolDecl *Def = PrevDecl? PrevDecl->getDefinition() : 0) {
605 PDecl = ObjCProtocolDecl::Create(Context, CurContext, ProtocolName,
613 ObjCList<ObjCProtocolDecl> PList;
614 PList.set((ObjCProtocolDecl *const*)ProtoRefs, NumProtoRefs, Context);
620 PDecl = ObjCProtocolDecl::Create(Context, CurContext, ProtocolName,
637 PDecl->setProtocolList((ObjCProtocolDecl**)ProtoRefs, NumProtoRefs,
654 ObjCProtocolDecl *PDecl = LookupProtocol(ProtocolId[i].first,
657 DeclFilterCCC<ObjCProtocolDecl> Validator;
661 if ((PDecl = Corrected.getCorrectionDeclAs<ObjCProtocolDecl>())) {
724 ObjCProtocolDecl *PrevDecl = LookupProtocol(Ident, IdentList[i].second,
726 ObjCProtocolDecl *PDecl
727 = ObjCProtocolDecl::Create(Context, CurContext, Ident,
804 CDecl->setProtocolList((ObjCProtocolDecl**)ProtoRefs, NumProtoRefs,
808 IDecl->mergeClassExtensionProtocolList((ObjCProtocolDecl**)ProtoRefs,
1488 ObjCProtocolDecl *PDecl,
1523 for (ObjCProtocolDecl::instmeth_iterator I = PDecl->instmeth_begin(),
1556 for (ObjCProtocolDecl::classmeth_iterator
1579 for (ObjCProtocolDecl::protocol_iterator PI = PDecl->protocol_begin(),
1619 isa<ObjCProtocolDecl>(CDecl));
1622 isa<ObjCProtocolDecl>(CDecl));
1646 isa<ObjCProtocolDecl>(CDecl));
1649 isa<ObjCProtocolDecl>(CDecl));
2241 || isa<ObjCProtocolDecl>(ClassDecl);
2600 void searchFrom(ObjCProtocolDecl *protocol) {
2891 isa<ObjCProtocolDecl>(overridden->getDeclContext()));