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
6019 ObjCProtocolDecl *PDecl,
6048 for (llvm::SmallPtrSet<ObjCProtocolDecl *,8>::iterator I = ProtocolExprDecls.begin(),
6494 ArrayRef<ObjCProtocolDecl *> SuperProtocols,
6505 ObjCProtocolDecl *SuperPD = SuperProtocols[i];
6610 ArrayRef<ObjCProtocolDecl *>baseProtocols,
6818 ArrayRef<ObjCProtocolDecl *> RefedProtocols,
7038 void RewriteModernObjC::RewriteObjCProtocolMetaData(ObjCProtocolDecl *PDecl,
7046 if (ObjCProtocolDecl *Def = PDecl->getDefinition())
7050 for (ObjCProtocolDecl
7057 for (ObjCProtocolDecl::instmeth_iterator
7068 for (ObjCProtocolDecl::classmeth_iterator
7093 std::vector<ObjCProtocolDecl *> SuperProtocols;
7094 for (ObjCProtocolDecl::protocol_iterator I = PDecl->protocol_begin(),
7204 const ObjCList<ObjCProtocolDecl> &Protocols,
7323 std::vector<ObjCProtocolDecl *> RefedProtocols;
7324 const ObjCList<ObjCProtocolDecl> &Protocols = CDecl->getReferencedProtocols();
7325 for (ObjCList<ObjCProtocolDecl>::iterator I = Protocols.begin(),
7582 std::vector<ObjCProtocolDecl *> RefedProtocols;