Home | History | Annotate | Download | only in AST

Lines Matching refs: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())
188 if (const ObjCProtocolDecl *Proto = dyn_cast<ObjCProtocolDecl>(this)) {
189 if (const ObjCProtocolDecl *Def = Proto->getDefinition())
202 const ObjCProtocolDecl *PID = cast<ObjCProtocolDecl>(this);
302 ObjCProtocolDecl *const* ExtList, unsigned ExtNum,
317 SmallVector<ObjCProtocolDecl*, 8> ProtocolRefs;
320 ObjCProtocolDecl *ProtoInExtension = ExtList[i];
531 ObjCProtocolDecl *
580 const ObjCList<ObjCProtocolDecl> &Protocols =
582 for (ObjCList<ObjCProtocolDecl>::iterator I = Protocols.begin(),
668 if (isa<ObjCProtocolDecl>(DC))
957 if (isa<ObjCProtocolDecl>(getDeclContext()))
1012 if (const ObjCProtocolDecl *Protocol = dyn_cast<ObjCProtocolDecl>(Container)){
1042 if (const ObjCProtocolDecl *
1043 ProtD = dyn_cast<ObjCProtocolDecl>(Method->getDeclContext())) {
1384 bool ObjCInterfaceDecl::ClassImplementsProtocol(ObjCProtocolDecl *lProto,
1516 // ObjCProtocolDecl
1519 void ObjCProtocolDecl::anchor() { }
1521 ObjCProtocolDecl::ObjCProtocolDecl(ASTContext &C, DeclContext *DC,
1524 ObjCProtocolDecl *PrevDecl)
1532 ObjCProtocolDecl *ObjCProtocolDecl::Create(ASTContext &C, DeclContext *DC,
1536 ObjCProtocolDecl *PrevDecl) {
1537 ObjCProtocolDecl *Result =
1538 new (C, DC) ObjCProtocolDecl(C, DC, Id, nameLoc, atStartLoc, PrevDecl);
1543 ObjCProtocolDecl *ObjCProtocolDecl::CreateDeserialized(ASTContext &C,
1545 ObjCProtocolDecl *Result =
1546 new (C, ID) ObjCProtocolDecl(C, nullptr, nullptr, SourceLocation(),
1552 ObjCProtocolDecl *ObjCProtocolDecl::lookupProtocolNamed(IdentifierInfo *Name) {
1553 ObjCProtocolDecl *PDecl = this;
1567 ObjCMethodDecl *ObjCProtocolDecl::lookupMethod(Selector Sel,
1573 const ObjCProtocolDecl *Def = getDefinition();
1586 void ObjCProtocolDecl::allocateDefinitionData() {
1592 void ObjCProtocolDecl::startDefinition() {
1600 void ObjCProtocolDecl::collectPropertiesToImplement(PropertyMap &PM,
1603 if (const ObjCProtocolDecl *PDecl = getDefinition()) {
1616 void ObjCProtocolDecl::collectInheritedProtocolProperties(
1619 if (const ObjCProtocolDecl *PDecl = getDefinition()) {
1638 ObjCProtocolDecl::getObjCRuntimeNameAsString() const {