Lines Matching defs:ObjCProtocolDecl
37 void ObjCProtocolList::set(ObjCProtocolDecl* const* InList, unsigned Elts,
72 if (const ObjCProtocolDecl *Proto = dyn_cast<ObjCProtocolDecl>(this)) {
73 if (const ObjCProtocolDecl *Def = Proto->getDefinition())
146 if (const ObjCProtocolDecl *PD = dyn_cast<ObjCProtocolDecl>(this))
158 if (const ObjCProtocolDecl *Proto = dyn_cast<ObjCProtocolDecl>(DC)) {
159 if (const ObjCProtocolDecl *Def = Proto->getDefinition())
197 if (const ObjCProtocolDecl *Proto = dyn_cast<ObjCProtocolDecl>(this)) {
198 if (const ObjCProtocolDecl *Def = Proto->getDefinition())
220 const ObjCProtocolDecl *PID = cast<ObjCProtocolDecl>(this);
383 ObjCProtocolDecl *const* ExtList, unsigned ExtNum,
398 SmallVector<ObjCProtocolDecl*, 8> ProtocolRefs;
401 ObjCProtocolDecl *ProtoInExtension = ExtList[i];
612 ObjCProtocolDecl *
661 const ObjCList<ObjCProtocolDecl> &Protocols =
663 for (ObjCList<ObjCProtocolDecl>::iterator I = Protocols.begin(),
749 if (isa<ObjCProtocolDecl>(DC))
1046 if (isa<ObjCProtocolDecl>(getDeclContext()))
1115 if (const ObjCProtocolDecl *Protocol = dyn_cast<ObjCProtocolDecl>(Container)){
1145 if (const ObjCProtocolDecl *
1146 ProtD = dyn_cast<ObjCProtocolDecl>(Method->getDeclContext())) {
1598 bool ObjCInterfaceDecl::ClassImplementsProtocol(ObjCProtocolDecl *lProto,
1735 // ObjCProtocolDecl
1738 void ObjCProtocolDecl::anchor() { }
1740 ObjCProtocolDecl::ObjCProtocolDecl(ASTContext &C, DeclContext *DC,
1743 ObjCProtocolDecl *PrevDecl)
1751 ObjCProtocolDecl *ObjCProtocolDecl::Create(ASTContext &C, DeclContext *DC,
1755 ObjCProtocolDecl *PrevDecl) {
1756 ObjCProtocolDecl *Result =
1757 new (C, DC) ObjCProtocolDecl(C, DC, Id, nameLoc, atStartLoc, PrevDecl);
1762 ObjCProtocolDecl *ObjCProtocolDecl::CreateDeserialized(ASTContext &C,
1764 ObjCProtocolDecl *Result =
1765 new (C, ID) ObjCProtocolDecl(C, nullptr, nullptr, SourceLocation(),
1771 ObjCProtocolDecl *ObjCProtocolDecl::lookupProtocolNamed(IdentifierInfo *Name) {
1772 ObjCProtocolDecl *PDecl = this;
1786 ObjCMethodDecl *ObjCProtocolDecl::lookupMethod(Selector Sel,
1792 const ObjCProtocolDecl *Def = getDefinition();
1805 void ObjCProtocolDecl::allocateDefinitionData() {
1811 void ObjCProtocolDecl::startDefinition() {
1819 void ObjCProtocolDecl::collectPropertiesToImplement(PropertyMap &PM,
1822 if (const ObjCProtocolDecl *PDecl = getDefinition()) {
1835 void ObjCProtocolDecl::collectInheritedProtocolProperties(
1838 if (const ObjCProtocolDecl *PDecl = getDefinition()) {
1857 ObjCProtocolDecl::getObjCRuntimeNameAsString() const {