Lines Matching refs:ObjCProtocolDecl

2570                           llvm::SmallPtrSet<ObjCProtocolDecl*, 8> &Protocols) {  in CollectInheritedProtocols()  argument
2591 } else if (const auto *OP = dyn_cast<ObjCProtocolDecl>(CDecl)) { in CollectInheritedProtocols()
2594 const_cast<ObjCProtocolDecl *>(OP->getCanonicalDecl())).second) in CollectInheritedProtocols()
5040 static int CmpProtocolNames(ObjCProtocolDecl *const *LHS, in CmpProtocolNames()
5041 ObjCProtocolDecl *const *RHS) { in CmpProtocolNames()
5045 static bool areSortedAndUniqued(ArrayRef<ObjCProtocolDecl *> Protocols) { in areSortedAndUniqued()
5059 SortAndUniqueProtocols(SmallVectorImpl<ObjCProtocolDecl *> &Protocols) { in SortAndUniqueProtocols()
5064 for (ObjCProtocolDecl *&P : Protocols) in SortAndUniqueProtocols()
5073 ObjCProtocolDecl * const *Protocols, in getObjCObjectType()
5083 ArrayRef<ObjCProtocolDecl *> protocols, in getObjCObjectType()
5130 ArrayRef<ObjCProtocolDecl *> canonProtocols; in getObjCObjectType()
5131 SmallVector<ObjCProtocolDecl*, 8> canonProtocolsVec; in getObjCObjectType()
5149 size += protocols.size() * sizeof(ObjCProtocolDecl *); in getObjCObjectType()
5165 ArrayRef<ObjCProtocolDecl *> protocols, bool &hasError, in applyObjCProtocolQualifiers()
5179 SmallVector<ObjCProtocolDecl*, 8> protocolsVec; in applyObjCProtocolQualifiers()
5183 ArrayRef<ObjCProtocolDecl *> protocols = protocolsVec; in applyObjCProtocolQualifiers()
5236 ArrayRef<ObjCProtocolDecl *> protocols) const { in getObjCTypeParamType()
5256 size += protocols.size() * sizeof(ObjCProtocolDecl *); in getObjCTypeParamType()
5270 SmallVector<ObjCProtocolDecl *, 8> protocols; in adjustObjCTypeParamBoundType()
5307 llvm::SmallPtrSet<ObjCProtocolDecl *, 8> InheritedProtocols; in QIdProtocolsAdoptObjCObjectProtocols()
8759 ASTContext::ProtocolCompatibleWithProtocol(ObjCProtocolDecl *lProto, in ProtocolCompatibleWithProtocol()
8760 ObjCProtocolDecl *rProto) const { in ProtocolCompatibleWithProtocol()
8877 llvm::SmallPtrSet<ObjCProtocolDecl *, 8> LHSInheritedProtocols; in ObjCQualifiedIdTypesAreCompatible()
9019 static int compareObjCProtocolsByName(ObjCProtocolDecl * const *lhs, in compareObjCProtocolsByName()
9020 ObjCProtocolDecl * const *rhs) { in compareObjCProtocolsByName()
9034 SmallVectorImpl<ObjCProtocolDecl *> &IntersectionSet) { in getIntersectionOfProtocols()
9042 llvm::SmallPtrSet<ObjCProtocolDecl *, 8> LHSProtocolSet; in getIntersectionOfProtocols()
9053 llvm::SmallPtrSet<ObjCProtocolDecl *, 8> RHSProtocolSet; in getIntersectionOfProtocols()
9071 llvm::SmallPtrSet<ObjCProtocolDecl *, 8> ImpliedProtocols; in getIntersectionOfProtocols()
9079 [&](ObjCProtocolDecl *proto) -> bool { in getIntersectionOfProtocols()
9195 SmallVector<ObjCProtocolDecl *, 8> Protocols; in areCommonBaseCompatible()
9246 SmallVector<ObjCProtocolDecl *, 8> Protocols; in areCommonBaseCompatible()
9295 llvm::SmallPtrSet<ObjCProtocolDecl *, 8> SuperClassInheritedProtocols; in canAssignObjCInterfaces()