Lines Matching refs:ObjCProtocolDecl
1202 llvm::SmallPtrSet<ObjCProtocolDecl*, 8> &Protocols) {
1208 ObjCProtocolDecl *Proto = (*P);
1210 for (ObjCProtocolDecl::protocol_iterator P = Proto->protocol_begin(),
1229 ObjCProtocolDecl *Proto = (*P);
1231 for (ObjCProtocolDecl::protocol_iterator P = Proto->protocol_begin(),
1235 } else if (const ObjCProtocolDecl *OP = dyn_cast<ObjCProtocolDecl>(CDecl)) {
1236 for (ObjCProtocolDecl::protocol_iterator P = OP->protocol_begin(),
1238 ObjCProtocolDecl *Proto = (*P);
1240 for (ObjCProtocolDecl::protocol_iterator P = Proto->protocol_begin(),
2747 static bool CmpProtocolNames(const ObjCProtocolDecl *LHS,
2748 const ObjCProtocolDecl *RHS) {
2752 static bool areSortedAndUniqued(ObjCProtocolDecl * const *Protocols,
2766 static void SortAndUniqueProtocols(ObjCProtocolDecl **Protocols,
2768 ObjCProtocolDecl **ProtocolsEnd = Protocols+NumProtocols;
2783 ObjCProtocolDecl * const *Protocols,
2803 SmallVector<ObjCProtocolDecl*, 8> Sorted(Protocols,
2820 Size += NumProtocols * sizeof(ObjCProtocolDecl *);
5198 ASTContext::ProtocolCompatibleWithProtocol(ObjCProtocolDecl *lProto,
5199 ObjCProtocolDecl *rProto) const {
5202 for (ObjCProtocolDecl::protocol_iterator PI = rProto->protocol_begin(),
5229 ObjCProtocolDecl *lhsProto = *I;
5232 ObjCProtocolDecl *rhsProto = *J;
5280 ObjCProtocolDecl *lhsProto = *I;
5288 ObjCProtocolDecl *rhsProto = *J;
5324 ObjCProtocolDecl *lhsProto = *I;
5334 ObjCProtocolDecl *rhsProto = *J;
5348 llvm::SmallPtrSet<ObjCProtocolDecl *, 8> LHSInheritedProtocols;
5355 for (llvm::SmallPtrSet<ObjCProtocolDecl*,8>::iterator I =
5359 ObjCProtocolDecl *lhsProto = (*I);
5362 ObjCProtocolDecl *rhsProto = *J;
5452 SmallVectorImpl<ObjCProtocolDecl *> &IntersectionOfProtocols) {
5459 llvm::SmallPtrSet<ObjCProtocolDecl *, 8> InheritedProtocolSet;
5464 llvm::SmallPtrSet<ObjCProtocolDecl *, 8> LHSInheritedProtocols;
5473 ObjCProtocolDecl **RHSProtocols =
5474 const_cast<ObjCProtocolDecl **>(RHS->qual_begin());
5479 llvm::SmallPtrSet<ObjCProtocolDecl *, 8> RHSInheritedProtocols;
5482 for (llvm::SmallPtrSet<ObjCProtocolDecl*,8>::iterator I =
5507 SmallVector<ObjCProtocolDecl *, 8> Protocols;
5549 llvm::SmallPtrSet<ObjCProtocolDecl *, 8> SuperClassInheritedProtocols;
5559 ObjCProtocolDecl *LHSProto = (*LHSPI);
5561 for (llvm::SmallPtrSet<ObjCProtocolDecl*,8>::iterator I =
5564 ObjCProtocolDecl *SuperClassProto = (*I);