Lines Matching refs:ObjCProtocolDecl
1974 llvm::SmallPtrSet<ObjCProtocolDecl*, 8> &Protocols) { in CollectInheritedProtocols() argument
1995 } else if (const ObjCProtocolDecl *OP = dyn_cast<ObjCProtocolDecl>(CDecl)) { in CollectInheritedProtocols()
1998 const_cast<ObjCProtocolDecl *>(OP->getCanonicalDecl())).second) in CollectInheritedProtocols()
3647 static int CmpProtocolNames(ObjCProtocolDecl *const *LHS, in CmpProtocolNames()
3648 ObjCProtocolDecl *const *RHS) { in CmpProtocolNames()
3652 static bool areSortedAndUniqued(ObjCProtocolDecl * const *Protocols, in areSortedAndUniqued()
3667 SortAndUniqueProtocols(SmallVectorImpl<ObjCProtocolDecl *> &Protocols) { in SortAndUniqueProtocols()
3672 for (ObjCProtocolDecl *&P : Protocols) in SortAndUniqueProtocols()
3681 ObjCProtocolDecl * const *Protocols, in getObjCObjectType()
3691 ArrayRef<ObjCProtocolDecl *> protocols, in getObjCObjectType()
3739 ArrayRef<ObjCProtocolDecl *> canonProtocols; in getObjCObjectType()
3740 SmallVector<ObjCProtocolDecl*, 8> canonProtocolsVec; in getObjCObjectType()
3758 size += protocols.size() * sizeof(ObjCProtocolDecl *); in getObjCObjectType()
3800 llvm::SmallPtrSet<ObjCProtocolDecl *, 8> InheritedProtocols; in QIdProtocolsAdoptObjCObjectProtocols()
6691 ASTContext::ProtocolCompatibleWithProtocol(ObjCProtocolDecl *lProto, in ProtocolCompatibleWithProtocol()
6692 ObjCProtocolDecl *rProto) const { in ProtocolCompatibleWithProtocol()
6817 llvm::SmallPtrSet<ObjCProtocolDecl *, 8> LHSInheritedProtocols; in ObjCQualifiedIdTypesAreCompatible()
6948 static int compareObjCProtocolsByName(ObjCProtocolDecl * const *lhs, in compareObjCProtocolsByName()
6949 ObjCProtocolDecl * const *rhs) { in compareObjCProtocolsByName()
6964 SmallVectorImpl<ObjCProtocolDecl *> &IntersectionSet) { in getIntersectionOfProtocols()
6972 llvm::SmallPtrSet<ObjCProtocolDecl *, 8> LHSProtocolSet; in getIntersectionOfProtocols()
6983 llvm::SmallPtrSet<ObjCProtocolDecl *, 8> RHSProtocolSet; in getIntersectionOfProtocols()
7001 llvm::SmallPtrSet<ObjCProtocolDecl *, 8> ImpliedProtocols; in getIntersectionOfProtocols()
7009 [&](ObjCProtocolDecl *proto) -> bool { in getIntersectionOfProtocols()
7120 SmallVector<ObjCProtocolDecl *, 8> Protocols; in areCommonBaseCompatible()
7169 SmallVector<ObjCProtocolDecl *, 8> Protocols; in areCommonBaseCompatible()
7216 llvm::SmallPtrSet<ObjCProtocolDecl *, 8> SuperClassInheritedProtocols; in canAssignObjCInterfaces()