Lines Matching refs:ObjCProtocolDecl
1702 llvm::SmallPtrSet<ObjCProtocolDecl*, 8> &Protocols) {
1708 ObjCProtocolDecl *Proto = (*P);
1710 for (ObjCProtocolDecl::protocol_iterator P = Proto->protocol_begin(),
1733 ObjCProtocolDecl *Proto = (*P);
1735 for (ObjCProtocolDecl::protocol_iterator P = Proto->protocol_begin(),
1739 } else if (const ObjCProtocolDecl *OP = dyn_cast<ObjCProtocolDecl>(CDecl)) {
1740 for (ObjCProtocolDecl::protocol_iterator P = OP->protocol_begin(),
1742 ObjCProtocolDecl *Proto = (*P);
1744 for (ObjCProtocolDecl::protocol_iterator P = Proto->protocol_begin(),
3277 static bool CmpProtocolNames(const ObjCProtocolDecl *LHS,
3278 const ObjCProtocolDecl *RHS) {
3282 static bool areSortedAndUniqued(ObjCProtocolDecl * const *Protocols,
3296 static void SortAndUniqueProtocols(ObjCProtocolDecl **Protocols,
3298 ObjCProtocolDecl **ProtocolsEnd = Protocols+NumProtocols;
3313 ObjCProtocolDecl * const *Protocols,
3333 SmallVector<ObjCProtocolDecl*, 8> Sorted(Protocols,
3350 Size += NumProtocols * sizeof(ObjCProtocolDecl *);
6194 ASTContext::ProtocolCompatibleWithProtocol(ObjCProtocolDecl *lProto,
6195 ObjCProtocolDecl *rProto) const {
6198 for (ObjCProtocolDecl::protocol_iterator PI = rProto->protocol_begin(),
6225 ObjCProtocolDecl *lhsProto = *I;
6228 ObjCProtocolDecl *rhsProto = *J;
6276 ObjCProtocolDecl *lhsProto = *I;
6284 ObjCProtocolDecl *rhsProto = *J;
6320 ObjCProtocolDecl *lhsProto = *I;
6330 ObjCProtocolDecl *rhsProto = *J;
6344 llvm::SmallPtrSet<ObjCProtocolDecl *, 8> LHSInheritedProtocols;
6351 for (llvm::SmallPtrSet<ObjCProtocolDecl*,8>::iterator I =
6355 ObjCProtocolDecl *lhsProto = (*I);
6358 ObjCProtocolDecl *rhsProto = *J;
6448 SmallVectorImpl<ObjCProtocolDecl *> &IntersectionOfProtocols) {
6455 llvm::SmallPtrSet<ObjCProtocolDecl *, 8> InheritedProtocolSet;
6460 llvm::SmallPtrSet<ObjCProtocolDecl *, 8> LHSInheritedProtocols;
6469 ObjCProtocolDecl **RHSProtocols =
6470 const_cast<ObjCProtocolDecl **>(RHS->qual_begin());
6475 llvm::SmallPtrSet<ObjCProtocolDecl *, 8> RHSInheritedProtocols;
6478 for (llvm::SmallPtrSet<ObjCProtocolDecl*,8>::iterator I =
6503 SmallVector<ObjCProtocolDecl *, 8> Protocols;
6545 llvm::SmallPtrSet<ObjCProtocolDecl *, 8> SuperClassInheritedProtocols;
6555 ObjCProtocolDecl *LHSProto = (*LHSPI);
6557 for (llvm::SmallPtrSet<ObjCProtocolDecl*,8>::iterator I =
6560 ObjCProtocolDecl *SuperClassProto = (*I);