Lines Matching refs:ObjCProtocolDecl
113 llvm::SmallPtrSet<ObjCProtocolDecl*, 8> ObjCSynthesizedProtocols;
126 llvm::SmallPtrSet<ObjCProtocolDecl *, 32> ProtocolExprDecls;
202 if (ObjCProtocolDecl *Proto = dyn_cast<ObjCProtocolDecl>(*I)) {
326 void RewriteProtocolDecl(ObjCProtocolDecl *Dcl);
444 void RewriteObjCProtocolMetaData(ObjCProtocolDecl *Protocol,
447 const ObjCList<ObjCProtocolDecl> &Prots,
733 } else if (ObjCProtocolDecl *PD = dyn_cast<ObjCProtocolDecl>(D)) {
770 if (ObjCProtocolDecl *Proto = dyn_cast<ObjCProtocolDecl>((*DI))) {
775 if (isa<ObjCProtocolDecl>(*DI) &&
776 !cast<ObjCProtocolDecl>(*DI)->isThisDeclarationADefinition() &&
1155 void RewriteModernObjC::RewriteProtocolDecl(ObjCProtocolDecl *PDecl) {
1162 for (ObjCProtocolDecl::instmeth_iterator
1166 for (ObjCProtocolDecl::classmeth_iterator
6025 ObjCProtocolDecl *PDecl,
6054 for (llvm::SmallPtrSet<ObjCProtocolDecl *,8>::iterator I = ProtocolExprDecls.begin(),
6500 ArrayRef<ObjCProtocolDecl *> SuperProtocols,
6511 ObjCProtocolDecl *SuperPD = SuperProtocols[i];
6616 ArrayRef<ObjCProtocolDecl *>baseProtocols,
6824 ArrayRef<ObjCProtocolDecl *> RefedProtocols,
7044 void RewriteModernObjC::RewriteObjCProtocolMetaData(ObjCProtocolDecl *PDecl,
7052 if (ObjCProtocolDecl *Def = PDecl->getDefinition())
7056 for (ObjCProtocolDecl::protocol_iterator I = PDecl->protocol_begin(),
7063 for (ObjCProtocolDecl::instmeth_iterator
7074 for (ObjCProtocolDecl::classmeth_iterator
7099 std::vector<ObjCProtocolDecl *> SuperProtocols;
7100 for (ObjCProtocolDecl::protocol_iterator I = PDecl->protocol_begin(),
7210 const ObjCList<ObjCProtocolDecl> &Protocols,
7329 std::vector<ObjCProtocolDecl *> RefedProtocols;
7330 const ObjCList<ObjCProtocolDecl> &Protocols = CDecl->getReferencedProtocols();
7331 for (ObjCList<ObjCProtocolDecl>::iterator I = Protocols.begin(),
7588 std::vector<ObjCProtocolDecl *> RefedProtocols;