Lines Matching refs:ObjCProtocolDecl

2279                           llvm::SmallPtrSet<ObjCProtocolDecl*, 8> &Protocols) {  in CollectInheritedProtocols()  argument
2300 } else if (const auto *OP = dyn_cast<ObjCProtocolDecl>(CDecl)) { in CollectInheritedProtocols()
2303 const_cast<ObjCProtocolDecl *>(OP->getCanonicalDecl())).second) in CollectInheritedProtocols()
4391 static int CmpProtocolNames(ObjCProtocolDecl *const *LHS, in CmpProtocolNames()
4392 ObjCProtocolDecl *const *RHS) { in CmpProtocolNames()
4396 static bool areSortedAndUniqued(ArrayRef<ObjCProtocolDecl *> Protocols) { in areSortedAndUniqued()
4410 SortAndUniqueProtocols(SmallVectorImpl<ObjCProtocolDecl *> &Protocols) { in SortAndUniqueProtocols()
4415 for (ObjCProtocolDecl *&P : Protocols) in SortAndUniqueProtocols()
4424 ObjCProtocolDecl * const *Protocols, in getObjCObjectType()
4434 ArrayRef<ObjCProtocolDecl *> protocols, in getObjCObjectType()
4481 ArrayRef<ObjCProtocolDecl *> canonProtocols; in getObjCObjectType()
4482 SmallVector<ObjCProtocolDecl*, 8> canonProtocolsVec; in getObjCObjectType()
4500 size += protocols.size() * sizeof(ObjCProtocolDecl *); in getObjCObjectType()
4516 ArrayRef<ObjCProtocolDecl *> protocols, bool &hasError, in applyObjCProtocolQualifiers()
4530 SmallVector<ObjCProtocolDecl*, 8> protocolsVec; in applyObjCProtocolQualifiers()
4534 ArrayRef<ObjCProtocolDecl *> protocols = protocolsVec; in applyObjCProtocolQualifiers()
4587 ArrayRef<ObjCProtocolDecl *> protocols, in getObjCTypeParamType()
4610 size += protocols.size() * sizeof(ObjCProtocolDecl *); in getObjCTypeParamType()
4650 llvm::SmallPtrSet<ObjCProtocolDecl *, 8> InheritedProtocols; in QIdProtocolsAdoptObjCObjectProtocols()
7844 ASTContext::ProtocolCompatibleWithProtocol(ObjCProtocolDecl *lProto, in ProtocolCompatibleWithProtocol()
7845 ObjCProtocolDecl *rProto) const { in ProtocolCompatibleWithProtocol()
7970 llvm::SmallPtrSet<ObjCProtocolDecl *, 8> LHSInheritedProtocols; in ObjCQualifiedIdTypesAreCompatible()
8100 static int compareObjCProtocolsByName(ObjCProtocolDecl * const *lhs, in compareObjCProtocolsByName()
8101 ObjCProtocolDecl * const *rhs) { in compareObjCProtocolsByName()
8115 SmallVectorImpl<ObjCProtocolDecl *> &IntersectionSet) { in getIntersectionOfProtocols()
8123 llvm::SmallPtrSet<ObjCProtocolDecl *, 8> LHSProtocolSet; in getIntersectionOfProtocols()
8134 llvm::SmallPtrSet<ObjCProtocolDecl *, 8> RHSProtocolSet; in getIntersectionOfProtocols()
8152 llvm::SmallPtrSet<ObjCProtocolDecl *, 8> ImpliedProtocols; in getIntersectionOfProtocols()
8160 [&](ObjCProtocolDecl *proto) -> bool { in getIntersectionOfProtocols()
8276 SmallVector<ObjCProtocolDecl *, 8> Protocols; in areCommonBaseCompatible()
8327 SmallVector<ObjCProtocolDecl *, 8> Protocols; in areCommonBaseCompatible()
8376 llvm::SmallPtrSet<ObjCProtocolDecl *, 8> SuperClassInheritedProtocols; in canAssignObjCInterfaces()