Home | History | Annotate | Download | only in AST

Lines Matching refs:ObjCProtocolDecl

37 void ObjCProtocolList::set(ObjCProtocolDecl* const* InList, unsigned Elts, 
71 if (const ObjCProtocolDecl *Proto = dyn_cast<ObjCProtocolDecl>(this)) {
72 if (const ObjCProtocolDecl *Def = Proto->getDefinition())
100 if (const ObjCProtocolDecl *Proto = dyn_cast<ObjCProtocolDecl>(DC)) {
101 if (const ObjCProtocolDecl *Def = Proto->getDefinition())
130 if (const ObjCProtocolDecl *Proto = dyn_cast<ObjCProtocolDecl>(this)) {
131 if (const ObjCProtocolDecl *Def = Proto->getDefinition())
144 const ObjCProtocolDecl *PID = cast<ObjCProtocolDecl>(this);
145 for (ObjCProtocolDecl::protocol_iterator I = PID->protocol_begin(),
258 ObjCProtocolDecl *const* ExtList, unsigned ExtNum,
273 SmallVector<ObjCProtocolDecl*, 8> ProtocolRefs;
276 ObjCProtocolDecl *ProtoInExtension = ExtList[i];
280 ObjCProtocolDecl *Proto = (*p);
413 const ObjCList<ObjCProtocolDecl> &Protocols =
415 for (ObjCList<ObjCProtocolDecl>::iterator I = Protocols.begin(),
770 assert(!isa<ObjCProtocolDecl>(getDeclContext()) && "It's a protocol method");
817 if (const ObjCProtocolDecl *Protocol = dyn_cast<ObjCProtocolDecl>(Container)){
818 for (ObjCProtocolDecl::protocol_iterator P = Protocol->protocol_begin(),
856 if (const ObjCProtocolDecl *
857 ProtD = dyn_cast<ObjCProtocolDecl>(Method->getDeclContext())) {
927 if (isa<ObjCInterfaceDecl>(ContD) || isa<ObjCProtocolDecl>(ContD))
1228 bool ObjCInterfaceDecl::ClassImplementsProtocol(ObjCProtocolDecl *lProto,
1366 // ObjCProtocolDecl
1369 void ObjCProtocolDecl::anchor() { }
1371 ObjCProtocolDecl::ObjCProtocolDecl(DeclContext *DC, IdentifierInfo *Id,
1374 ObjCProtocolDecl *PrevDecl)
1382 ObjCProtocolDecl *ObjCProtocolDecl::Create(ASTContext &C, DeclContext *DC,
1386 ObjCProtocolDecl *PrevDecl) {
1387 ObjCProtocolDecl *Result
1388 = new (C) ObjCProtocolDecl(DC, Id, nameLoc, atStartLoc, PrevDecl);
1393 ObjCProtocolDecl *ObjCProtocolDecl::CreateDeserialized(ASTContext &C,
1395 void *Mem = AllocateDeserializedDecl(C, ID, sizeof(ObjCProtocolDecl));
1396 ObjCProtocolDecl *Result = new (Mem) ObjCProtocolDecl(0, 0, SourceLocation(),
1402 ObjCProtocolDecl *ObjCProtocolDecl::lookupProtocolNamed(IdentifierInfo *Name) {
1403 ObjCProtocolDecl *PDecl = this;
1417 ObjCMethodDecl *ObjCProtocolDecl::lookupMethod(Selector Sel,
1423 const ObjCProtocolDecl *Def = getDefinition();
1436 void ObjCProtocolDecl::allocateDefinitionData() {
1442 void ObjCProtocolDecl::startDefinition() {
1451 void ObjCProtocolDecl::collectPropertiesToImplement(PropertyMap &PM,
1454 if (const ObjCProtocolDecl *PDecl = getDefinition()) {
1455 for (ObjCProtocolDecl::prop_iterator P = PDecl->prop_begin(),
1463 for (ObjCProtocolDecl::protocol_iterator PI = PDecl->protocol_begin(),