Lines Matching refs:ObjCProtocolDecl

2585                           llvm::SmallPtrSet<ObjCProtocolDecl*, 8> &Protocols) {  in CollectInheritedProtocols()  argument
2606 } else if (const auto *OP = dyn_cast<ObjCProtocolDecl>(CDecl)) { in CollectInheritedProtocols()
2609 const_cast<ObjCProtocolDecl *>(OP->getCanonicalDecl())).second) in CollectInheritedProtocols()
5055 static int CmpProtocolNames(ObjCProtocolDecl *const *LHS, in CmpProtocolNames()
5056 ObjCProtocolDecl *const *RHS) { in CmpProtocolNames()
5060 static bool areSortedAndUniqued(ArrayRef<ObjCProtocolDecl *> Protocols) { in areSortedAndUniqued()
5074 SortAndUniqueProtocols(SmallVectorImpl<ObjCProtocolDecl *> &Protocols) { in SortAndUniqueProtocols()
5079 for (ObjCProtocolDecl *&P : Protocols) in SortAndUniqueProtocols()
5088 ObjCProtocolDecl * const *Protocols, in getObjCObjectType()
5098 ArrayRef<ObjCProtocolDecl *> protocols, in getObjCObjectType()
5145 ArrayRef<ObjCProtocolDecl *> canonProtocols; in getObjCObjectType()
5146 SmallVector<ObjCProtocolDecl*, 8> canonProtocolsVec; in getObjCObjectType()
5164 size += protocols.size() * sizeof(ObjCProtocolDecl *); in getObjCObjectType()
5180 ArrayRef<ObjCProtocolDecl *> protocols, bool &hasError, in applyObjCProtocolQualifiers()
5194 SmallVector<ObjCProtocolDecl*, 8> protocolsVec; in applyObjCProtocolQualifiers()
5198 ArrayRef<ObjCProtocolDecl *> protocols = protocolsVec; in applyObjCProtocolQualifiers()
5251 ArrayRef<ObjCProtocolDecl *> protocols) const { in getObjCTypeParamType()
5271 size += protocols.size() * sizeof(ObjCProtocolDecl *); in getObjCTypeParamType()
5285 SmallVector<ObjCProtocolDecl *, 8> protocols; in adjustObjCTypeParamBoundType()
5322 llvm::SmallPtrSet<ObjCProtocolDecl *, 8> InheritedProtocols; in QIdProtocolsAdoptObjCObjectProtocols()
8793 ASTContext::ProtocolCompatibleWithProtocol(ObjCProtocolDecl *lProto, in ProtocolCompatibleWithProtocol()
8794 ObjCProtocolDecl *rProto) const { in ProtocolCompatibleWithProtocol()
8911 llvm::SmallPtrSet<ObjCProtocolDecl *, 8> LHSInheritedProtocols; in ObjCQualifiedIdTypesAreCompatible()
9053 static int compareObjCProtocolsByName(ObjCProtocolDecl * const *lhs, in compareObjCProtocolsByName()
9054 ObjCProtocolDecl * const *rhs) { in compareObjCProtocolsByName()
9068 SmallVectorImpl<ObjCProtocolDecl *> &IntersectionSet) { in getIntersectionOfProtocols()
9076 llvm::SmallPtrSet<ObjCProtocolDecl *, 8> LHSProtocolSet; in getIntersectionOfProtocols()
9087 llvm::SmallPtrSet<ObjCProtocolDecl *, 8> RHSProtocolSet; in getIntersectionOfProtocols()
9105 llvm::SmallPtrSet<ObjCProtocolDecl *, 8> ImpliedProtocols; in getIntersectionOfProtocols()
9113 [&](ObjCProtocolDecl *proto) -> bool { in getIntersectionOfProtocols()
9229 SmallVector<ObjCProtocolDecl *, 8> Protocols; in areCommonBaseCompatible()
9280 SmallVector<ObjCProtocolDecl *, 8> Protocols; in areCommonBaseCompatible()
9329 llvm::SmallPtrSet<ObjCProtocolDecl *, 8> SuperClassInheritedProtocols; in canAssignObjCInterfaces()