Home
last modified time | relevance | path

Searched refs:getNumProtocols (Results 1 – 17 of 17) sorted by relevance

/llvm-project-15.0.7/clang/include/clang/AST/
H A DTypeLoc.h778 return getNumProtocols() ? in getProtocolLAngleLoc()
788 return getNumProtocols() ? in getProtocolRAngleLoc()
797 unsigned getNumProtocols() const { in getNumProtocols() function
798 return this->getTypePtr()->getNumProtocols(); in getNumProtocols()
802 assert(i < getNumProtocols() && "Index is out of bounds!"); in getProtocolLoc()
807 assert(i < getNumProtocols() && "Index is out of bounds!"); in setProtocolLoc()
812 assert(i < getNumProtocols() && "Index is out of bounds!"); in getProtocol()
823 if (!this->getNumProtocols()) return 0; in getExtraLocalDataSize()
1002 unsigned getNumProtocols() const { in getNumProtocols() function
1003 return this->getTypePtr()->getNumProtocols(); in getNumProtocols()
[all …]
H A DCanonicalType.h594 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(unsigned, getNumProtocols)
613 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(unsigned, getNumProtocols)
H A DType.h5839 assert(getNumProtocols() == protocols.size() &&
5852 qual_iterator qual_end() const { return qual_begin() + getNumProtocols(); }
5854 bool qual_empty() const { return getNumProtocols() == 0; }
5858 unsigned getNumProtocols() const {
5864 assert(I < getNumProtocols() && "Out-of-range protocol access");
5870 return ArrayRef<ObjCProtocolDecl *>(qual_begin(), getNumProtocols());
6181 getNumProtocols,
6339 unsigned getNumProtocols() const {
6340 return getObjectType()->getNumProtocols();
H A DRecursiveASTVisitor.h1444 for (unsigned I = 0, N = TL.getNumProtocols(); I != N; ++I) {
1459 for (unsigned I = 0, N = TL.getNumProtocols(); I != N; ++I) {
/llvm-project-15.0.7/clang/lib/AST/
H A DTypeLoc.cpp473 if (!getNumProtocols()) return; in initializeLocal()
477 for (unsigned i = 0, e = getNumProtocols(); i != e; ++i) in initializeLocal()
493 for (unsigned i = 0, e = getNumProtocols(); i != e; ++i) in initializeLocal()
H A DASTStructuralEquivalence.cpp1176 if (Obj1->getNumProtocols() != Obj2->getNumProtocols()) in IsStructurallyEquivalent()
1178 for (unsigned I = 0, N = Obj1->getNumProtocols(); I != N; ++I) { in IsStructurallyEquivalent()
1192 if (Obj1->getNumProtocols() != Obj2->getNumProtocols()) in IsStructurallyEquivalent()
1194 for (unsigned I = 0, N = Obj1->getNumProtocols(); I != N; ++I) { in IsStructurallyEquivalent()
H A DType.cpp1219 T->getNumProtocols()), in VisitObjCObjectType()
1400 objcObjectType->qual_begin(), objcObjectType->getNumProtocols()); in VisitObjCObjectType()
1416 objcObjectType->qual_begin(), objcObjectType->getNumProtocols()); in VisitObjCObjectType()
1699 if (T->getNumProtocols() && T->getInterface()) in getAsObjCQualifiedInterfaceType()
3790 llvm::makeArrayRef(qual_begin(), getNumProtocols()), in Profile()
3807 llvm::makeArrayRef(qual_begin(), getNumProtocols())); in Profile()
H A DASTDiagnostic.cpp231 llvm::makeArrayRef(Ty->qual_begin(), Ty->getNumProtocols()), in desugarForDiagnostic()
H A DASTContext.cpp9951 if (LHS->getNumProtocols() > 0) { in canAssignObjCInterfaces()
/llvm-project-15.0.7/clang/lib/Index/
H A DIndexTypeSourceInfo.cpp140 for (unsigned i = 0, e = TL.getNumProtocols(); i != e; ++i) { in VisitObjCObjectTypeLoc()
/llvm-project-15.0.7/clang/tools/libclang/
H A DCXType.cpp1195 return OT->getNumProtocols(); in clang_Type_getNumObjCProtocolRefs()
H A DCIndex.cpp1691 for (unsigned I = 0, N = TL.getNumProtocols(); I != N; ++I) { in VisitObjCTypeParamTypeLoc()
1709 for (unsigned I = 0, N = TL.getNumProtocols(); I != N; ++I) { in VisitObjCObjectTypeLoc()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaType.cpp1193 if (OTPTL.getNumProtocols() > 0) { in actOnObjCTypeArgsAndProtocolQualifiers()
1194 assert(OTPTL.getNumProtocols() == Protocols.size()); in actOnObjCTypeArgsAndProtocolQualifiers()
1220 if (ObjCObjectTL.getNumProtocols() > 0) { in actOnObjCTypeArgsAndProtocolQualifiers()
1221 assert(ObjCObjectTL.getNumProtocols() == Protocols.size()); in actOnObjCTypeArgsAndProtocolQualifiers()
H A DTreeTransform.h7119 TL.getNumProtocols()), in TransformObjCTypeParamType()
7127 if (TL.getNumProtocols()) { in TransformObjCTypeParamType()
7129 for (unsigned i = 0, n = TL.getNumProtocols(); i != n; ++i) in TransformObjCTypeParamType()
7240 llvm::makeArrayRef(TL.getTypePtr()->qual_begin(), TL.getNumProtocols()), in TransformObjCObjectType()
7254 for (unsigned i = 0, n = TL.getNumProtocols(); i != n; ++i) in TransformObjCObjectType()
H A DSemaDeclObjC.cpp1130 ProtocolLocs.append(OPT->getNumProtocols(), SuperLoc); in ActOnTypedefedProtocols()
/llvm-project-15.0.7/clang/lib/Serialization/
H A DASTWriter.cpp422 if (TL.getNumProtocols()) { in VisitObjCTypeParamTypeLoc()
426 for (unsigned i = 0, e = TL.getNumProtocols(); i != e; ++i) in VisitObjCTypeParamTypeLoc()
573 for (unsigned i = 0, e = TL.getNumProtocols(); i != e; ++i) in VisitObjCObjectTypeLoc()
H A DASTReader.cpp6824 if (TL.getNumProtocols()) { in VisitObjCTypeParamTypeLoc()
6828 for (unsigned i = 0, e = TL.getNumProtocols(); i != e; ++i) in VisitObjCTypeParamTypeLoc()
6840 for (unsigned i = 0, e = TL.getNumProtocols(); i != e; ++i) in VisitObjCObjectTypeLoc()