• Home
  • Raw
  • Download

Lines Matching refs:Protocols

1567                           llvm::SmallPtrSet<ObjCProtocolDecl*, 8> &Protocols) {  in CollectInheritedProtocols()  argument
1574 Protocols.insert(Proto->getCanonicalDecl()); in CollectInheritedProtocols()
1577 Protocols.insert((*P)->getCanonicalDecl()); in CollectInheritedProtocols()
1578 CollectInheritedProtocols(*P, Protocols); in CollectInheritedProtocols()
1585 CollectInheritedProtocols(CDeclChain, Protocols); in CollectInheritedProtocols()
1588 CollectInheritedProtocols(SD, Protocols); in CollectInheritedProtocols()
1595 Protocols.insert(Proto->getCanonicalDecl()); in CollectInheritedProtocols()
1598 CollectInheritedProtocols(*P, Protocols); in CollectInheritedProtocols()
1604 Protocols.insert(Proto->getCanonicalDecl()); in CollectInheritedProtocols()
1607 CollectInheritedProtocols(*P, Protocols); in CollectInheritedProtocols()
3119 static bool areSortedAndUniqued(ObjCProtocolDecl * const *Protocols, in areSortedAndUniqued() argument
3123 if (Protocols[0]->getCanonicalDecl() != Protocols[0]) in areSortedAndUniqued()
3127 if (!CmpProtocolNames(Protocols[i-1], Protocols[i]) || in areSortedAndUniqued()
3128 Protocols[i]->getCanonicalDecl() != Protocols[i]) in areSortedAndUniqued()
3133 static void SortAndUniqueProtocols(ObjCProtocolDecl **Protocols, in SortAndUniqueProtocols() argument
3135 ObjCProtocolDecl **ProtocolsEnd = Protocols+NumProtocols; in SortAndUniqueProtocols()
3138 std::sort(Protocols, Protocols+NumProtocols, CmpProtocolNames); in SortAndUniqueProtocols()
3142 Protocols[I] = Protocols[I]->getCanonicalDecl(); in SortAndUniqueProtocols()
3145 ProtocolsEnd = std::unique(Protocols, ProtocolsEnd); in SortAndUniqueProtocols()
3146 NumProtocols = ProtocolsEnd-Protocols; in SortAndUniqueProtocols()
3150 ObjCProtocolDecl * const *Protocols, in getObjCObjectType() argument
3159 ObjCObjectTypeImpl::Profile(ID, BaseType, Protocols, NumProtocols); in getObjCObjectType()
3167 bool ProtocolsSorted = areSortedAndUniqued(Protocols, NumProtocols); in getObjCObjectType()
3170 SmallVector<ObjCProtocolDecl*, 8> Sorted(Protocols, in getObjCObjectType()
3171 Protocols + NumProtocols); in getObjCObjectType()
3179 Protocols, NumProtocols); in getObjCObjectType()
3190 new (Mem) ObjCObjectTypeImpl(Canonical, BaseType, Protocols, NumProtocols); in getObjCObjectType()
6106 SmallVector<ObjCProtocolDecl *, 8> Protocols; in areCommonBaseCompatible() local
6107 getIntersectionOfProtocols(*this, Lptr, Rptr, Protocols); in areCommonBaseCompatible()
6110 if (!Protocols.empty()) in areCommonBaseCompatible()
6111 Result = getObjCObjectType(Result, Protocols.data(), Protocols.size()); in areCommonBaseCompatible()