Lines Matching refs:ObjCProtocolDecl
35 void ObjCProtocolList::set(ObjCProtocolDecl* const* InList, unsigned Elts,
109 const ObjCProtocolDecl *PID = cast<ObjCProtocolDecl>(this);
110 for (ObjCProtocolDecl::protocol_iterator I = PID->protocol_begin(),
183 ObjCProtocolDecl *const* ExtList, unsigned ExtNum,
198 SmallVector<ObjCProtocolDecl*, 8> ProtocolRefs;
201 ObjCProtocolDecl *ProtoInExtension = ExtList[i];
205 ObjCProtocolDecl *Proto = (*p);
351 const ObjCList<ObjCProtocolDecl> &Protocols =
353 for (ObjCList<ObjCProtocolDecl>::iterator I = Protocols.begin(),
680 assert(!isa<ObjCProtocolDecl>(getDeclContext()) && "It's a protocol method");
846 bool ObjCInterfaceDecl::ClassImplementsProtocol(ObjCProtocolDecl *lProto,
987 // ObjCProtocolDecl
990 void ObjCProtocolDecl::anchor() { }
992 ObjCProtocolDecl::ObjCProtocolDecl(DeclContext *DC, IdentifierInfo *Id,
995 ObjCProtocolDecl *PrevDecl)
1003 ObjCProtocolDecl *ObjCProtocolDecl::Create(ASTContext &C, DeclContext *DC,
1007 ObjCProtocolDecl *PrevDecl) {
1008 ObjCProtocolDecl *Result
1009 = new (C) ObjCProtocolDecl(DC, Id, nameLoc, atStartLoc, PrevDecl);
1014 ObjCProtocolDecl *ObjCProtocolDecl::CreateDeserialized(ASTContext &C,
1016 void *Mem = AllocateDeserializedDecl(C, ID, sizeof(ObjCProtocolDecl));
1017 return new (Mem) ObjCProtocolDecl(0, 0, SourceLocation(), SourceLocation(),
1021 ObjCProtocolDecl *ObjCProtocolDecl::lookupProtocolNamed(IdentifierInfo *Name) {
1022 ObjCProtocolDecl *PDecl = this;
1036 ObjCMethodDecl *ObjCProtocolDecl::lookupMethod(Selector Sel,
1049 void ObjCProtocolDecl::allocateDefinitionData() {
1055 void ObjCProtocolDecl::startDefinition() {