Lines Matching refs:ObjCProtocolDecl
110 llvm::SmallPtrSet<ObjCProtocolDecl*, 8> ObjCSynthesizedProtocols;
123 llvm::SmallPtrSet<ObjCProtocolDecl *, 32> ProtocolExprDecls;
189 if (ObjCProtocolDecl *Proto = dyn_cast<ObjCProtocolDecl>(*I)) {
298 void RewriteProtocolDecl(ObjCProtocolDecl *Dcl);
388 void RewriteObjCProtocolMetaData(ObjCProtocolDecl *Protocol,
391 const ObjCList<ObjCProtocolDecl> &Prots,
675 } else if (ObjCProtocolDecl *PD = dyn_cast<ObjCProtocolDecl>(D)) {
712 if (ObjCProtocolDecl *Proto = dyn_cast<ObjCProtocolDecl>((*DI))) {
717 if (isa<ObjCProtocolDecl>(*DI) &&
718 !cast<ObjCProtocolDecl>(*DI)->isThisDeclarationADefinition() &&
1017 void RewriteModernObjC::RewriteProtocolDecl(ObjCProtocolDecl *PDecl) {
1024 for (ObjCProtocolDecl::instmeth_iterator
1028 for (ObjCProtocolDecl::classmeth_iterator
5535 ObjCProtocolDecl *PDecl,
5556 for (llvm::SmallPtrSet<ObjCProtocolDecl *,8>::iterator I = ProtocolExprDecls.begin(),
5996 ArrayRef<ObjCProtocolDecl *> SuperProtocols,
6007 ObjCProtocolDecl *SuperPD = SuperProtocols[i];
6112 ArrayRef<ObjCProtocolDecl *>baseProtocols,
6320 ArrayRef<ObjCProtocolDecl *> RefedProtocols,
6507 void RewriteModernObjC::RewriteObjCProtocolMetaData(ObjCProtocolDecl *PDecl,
6515 if (ObjCProtocolDecl *Def = PDecl->getDefinition())
6519 for (ObjCProtocolDecl::protocol_iterator I = PDecl->protocol_begin(),
6526 for (ObjCProtocolDecl::instmeth_iterator
6537 for (ObjCProtocolDecl::classmeth_iterator
6562 std::vector<ObjCProtocolDecl *> SuperProtocols;
6563 for (ObjCProtocolDecl::protocol_iterator I = PDecl->protocol_begin(),
6673 const ObjCList<ObjCProtocolDecl> &Protocols,
6792 std::vector<ObjCProtocolDecl *> RefedProtocols;
6793 const ObjCList<ObjCProtocolDecl> &Protocols = CDecl->getReferencedProtocols();
6794 for (ObjCList<ObjCProtocolDecl>::iterator I = Protocols.begin(),
7054 std::vector<ObjCProtocolDecl *> RefedProtocols;