Lines Matching refs:ObjCProtocolDecl
109 llvm::SmallPtrSet<ObjCProtocolDecl*, 8> ObjCSynthesizedProtocols;
115 llvm::SmallPtrSet<ObjCProtocolDecl *, 32> ProtocolExprDecls;
175 if (ObjCProtocolDecl *Proto = dyn_cast<ObjCProtocolDecl>(*I)) {
284 void RewriteProtocolDecl(ObjCProtocolDecl *Dcl);
334 virtual void RewriteObjCProtocolListMetaData(const ObjCList<ObjCProtocolDecl> &Prots,
340 virtual void RewriteObjCProtocolMetaData(ObjCProtocolDecl *Protocol,
520 virtual void RewriteObjCProtocolMetaData(ObjCProtocolDecl *Protocol,
525 const ObjCList<ObjCProtocolDecl> &Prots,
667 } else if (ObjCProtocolDecl *PD = dyn_cast<ObjCProtocolDecl>(D)) {
694 if (ObjCProtocolDecl *Proto = dyn_cast<ObjCProtocolDecl>((*DI))) {
699 if (isa<ObjCProtocolDecl>(*DI) &&
700 !cast<ObjCProtocolDecl>(*DI)->isThisDeclarationADefinition() &&
986 void RewriteObjC::RewriteProtocolDecl(ObjCProtocolDecl *PDecl) {
993 for (ObjCProtocolDecl::instmeth_iterator
997 for (ObjCProtocolDecl::classmeth_iterator
5026 for (llvm::SmallPtrSet<ObjCProtocolDecl *,8>::iterator I = ProtocolExprDecls.begin(),
5191 ObjCProtocolDecl *PDecl, StringRef prefix,
5213 if (ObjCProtocolDecl *Def = PDecl->getDefinition())
5234 for (ObjCProtocolDecl::instmeth_iterator
5272 for (ObjCProtocolDecl::classmeth_iterator
5341 const ObjCList<ObjCProtocolDecl> &Protocols,
5721 for (llvm::SmallPtrSet<ObjCProtocolDecl *,8>::iterator I = ProtocolExprDecls.begin(),