| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | TypeLoc.h | 778 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 D | CanonicalType.h | 594 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(unsigned, getNumProtocols) 613 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(unsigned, getNumProtocols)
|
| H A D | Type.h | 5839 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 D | RecursiveASTVisitor.h | 1444 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 D | TypeLoc.cpp | 473 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 D | ASTStructuralEquivalence.cpp | 1176 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 D | Type.cpp | 1219 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 D | ASTDiagnostic.cpp | 231 llvm::makeArrayRef(Ty->qual_begin(), Ty->getNumProtocols()), in desugarForDiagnostic()
|
| H A D | ASTContext.cpp | 9951 if (LHS->getNumProtocols() > 0) { in canAssignObjCInterfaces()
|
| /llvm-project-15.0.7/clang/lib/Index/ |
| H A D | IndexTypeSourceInfo.cpp | 140 for (unsigned i = 0, e = TL.getNumProtocols(); i != e; ++i) { in VisitObjCObjectTypeLoc()
|
| /llvm-project-15.0.7/clang/tools/libclang/ |
| H A D | CXType.cpp | 1195 return OT->getNumProtocols(); in clang_Type_getNumObjCProtocolRefs()
|
| H A D | CIndex.cpp | 1691 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 D | SemaType.cpp | 1193 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 D | TreeTransform.h | 7119 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 D | SemaDeclObjC.cpp | 1130 ProtocolLocs.append(OPT->getNumProtocols(), SuperLoc); in ActOnTypedefedProtocols()
|
| /llvm-project-15.0.7/clang/lib/Serialization/ |
| H A D | ASTWriter.cpp | 422 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 D | ASTReader.cpp | 6824 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()
|