• Home
  • Raw
  • Download

Lines Matching refs:Protocols

1702                           llvm::SmallPtrSet<ObjCProtocolDecl*, 8> &Protocols) {  in CollectInheritedProtocols()  argument
1709 Protocols.insert(Proto->getCanonicalDecl()); in CollectInheritedProtocols()
1712 Protocols.insert((*P)->getCanonicalDecl()); in CollectInheritedProtocols()
1713 CollectInheritedProtocols(*P, Protocols); in CollectInheritedProtocols()
1722 CollectInheritedProtocols(*Cat, Protocols); in CollectInheritedProtocols()
1727 CollectInheritedProtocols(SD, Protocols); in CollectInheritedProtocols()
1734 Protocols.insert(Proto->getCanonicalDecl()); in CollectInheritedProtocols()
1737 CollectInheritedProtocols(*P, Protocols); in CollectInheritedProtocols()
1743 Protocols.insert(Proto->getCanonicalDecl()); in CollectInheritedProtocols()
1746 CollectInheritedProtocols(*P, Protocols); in CollectInheritedProtocols()
3282 static bool areSortedAndUniqued(ObjCProtocolDecl * const *Protocols, in areSortedAndUniqued() argument
3286 if (Protocols[0]->getCanonicalDecl() != Protocols[0]) in areSortedAndUniqued()
3290 if (!CmpProtocolNames(Protocols[i-1], Protocols[i]) || in areSortedAndUniqued()
3291 Protocols[i]->getCanonicalDecl() != Protocols[i]) in areSortedAndUniqued()
3296 static void SortAndUniqueProtocols(ObjCProtocolDecl **Protocols, in SortAndUniqueProtocols() argument
3298 ObjCProtocolDecl **ProtocolsEnd = Protocols+NumProtocols; in SortAndUniqueProtocols()
3301 std::sort(Protocols, Protocols+NumProtocols, CmpProtocolNames); in SortAndUniqueProtocols()
3305 Protocols[I] = Protocols[I]->getCanonicalDecl(); in SortAndUniqueProtocols()
3308 ProtocolsEnd = std::unique(Protocols, ProtocolsEnd); in SortAndUniqueProtocols()
3309 NumProtocols = ProtocolsEnd-Protocols; in SortAndUniqueProtocols()
3313 ObjCProtocolDecl * const *Protocols, in getObjCObjectType() argument
3322 ObjCObjectTypeImpl::Profile(ID, BaseType, Protocols, NumProtocols); in getObjCObjectType()
3330 bool ProtocolsSorted = areSortedAndUniqued(Protocols, NumProtocols); in getObjCObjectType()
3333 SmallVector<ObjCProtocolDecl*, 8> Sorted(Protocols, in getObjCObjectType()
3334 Protocols + NumProtocols); in getObjCObjectType()
3342 Protocols, NumProtocols); in getObjCObjectType()
3353 new (Mem) ObjCObjectTypeImpl(Canonical, BaseType, Protocols, NumProtocols); in getObjCObjectType()
6503 SmallVector<ObjCProtocolDecl *, 8> Protocols; in areCommonBaseCompatible() local
6504 getIntersectionOfProtocols(*this, Lptr, Rptr, Protocols); in areCommonBaseCompatible()
6507 if (!Protocols.empty()) in areCommonBaseCompatible()
6508 Result = getObjCObjectType(Result, Protocols.data(), Protocols.size()); in areCommonBaseCompatible()