Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/
H A DTypeLoc.h769 return getNumProtocols() ? in getProtocolLAngleLoc()
779 return getNumProtocols() ? in getProtocolRAngleLoc()
788 unsigned getNumProtocols() const { in getNumProtocols() function
789 return this->getTypePtr()->getNumProtocols(); in getNumProtocols()
793 assert(i < getNumProtocols() && "Index is out of bounds!"); in getProtocolLoc()
798 assert(i < getNumProtocols() && "Index is out of bounds!"); in setProtocolLoc()
803 assert(i < getNumProtocols() && "Index is out of bounds!"); in getProtocol()
814 if (!this->getNumProtocols()) return 0; in getExtraLocalDataSize()
970 unsigned getNumProtocols() const { in getNumProtocols() function
971 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.h5706 assert(getNumProtocols() == protocols.size() &&
5719 qual_iterator qual_end() const { return qual_begin() + getNumProtocols(); }
5721 bool qual_empty() const { return getNumProtocols() == 0; }
5725 unsigned getNumProtocols() const {
5731 assert(I < getNumProtocols() && "Out-of-range protocol access");
5737 return ArrayRef<ObjCProtocolDecl *>(qual_begin(), getNumProtocols());
6049 getNumProtocols,
6207 unsigned getNumProtocols() const {
6208 return getObjectType()->getNumProtocols();
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DTypeLoc.cpp463 if (!getNumProtocols()) return; in initializeLocal()
467 for (unsigned i = 0, e = getNumProtocols(); i != e; ++i) in initializeLocal()
483 for (unsigned i = 0, e = getNumProtocols(); i != e; ++i) in initializeLocal()
H A DASTStructuralEquivalence.cpp1162 if (Obj1->getNumProtocols() != Obj2->getNumProtocols()) in IsStructurallyEquivalent()
1164 for (unsigned I = 0, N = Obj1->getNumProtocols(); I != N; ++I) { in IsStructurallyEquivalent()
1178 if (Obj1->getNumProtocols() != Obj2->getNumProtocols()) in IsStructurallyEquivalent()
1180 for (unsigned I = 0, N = Obj1->getNumProtocols(); I != N; ++I) { in IsStructurallyEquivalent()
H A DType.cpp1213 T->getNumProtocols()), in VisitObjCObjectType()
1394 objcObjectType->qual_begin(), objcObjectType->getNumProtocols()); in VisitObjCObjectType()
1410 objcObjectType->qual_begin(), objcObjectType->getNumProtocols()); in VisitObjCObjectType()
1693 if (T->getNumProtocols() && T->getInterface()) in getAsObjCQualifiedInterfaceType()
3725 llvm::makeArrayRef(qual_begin(), getNumProtocols()), in Profile()
3742 llvm::makeArrayRef(qual_begin(), getNumProtocols())); in Profile()
H A DASTDiagnostic.cpp200 Ty->getNumProtocols()), in Desugar()
H A DASTContext.cpp9324 if (LHS->getNumProtocols() > 0) { in canAssignObjCInterfaces()
/freebsd-13.1/contrib/llvm-project/clang/lib/Index/
H A DIndexTypeSourceInfo.cpp130 for (unsigned i = 0, e = TL.getNumProtocols(); i != e; ++i) { in VisitObjCObjectTypeLoc()
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaType.cpp1203 if (OTPTL.getNumProtocols() > 0) { in actOnObjCTypeArgsAndProtocolQualifiers()
1204 assert(OTPTL.getNumProtocols() == Protocols.size()); in actOnObjCTypeArgsAndProtocolQualifiers()
1230 if (ObjCObjectTL.getNumProtocols() > 0) { in actOnObjCTypeArgsAndProtocolQualifiers()
1231 assert(ObjCObjectTL.getNumProtocols() == Protocols.size()); in actOnObjCTypeArgsAndProtocolQualifiers()
H A DTreeTransform.h7019 TL.getNumProtocols()), in TransformObjCTypeParamType()
7027 if (TL.getNumProtocols()) { in TransformObjCTypeParamType()
7029 for (unsigned i = 0, n = TL.getNumProtocols(); i != n; ++i) in TransformObjCTypeParamType()
7140 llvm::makeArrayRef(TL.getTypePtr()->qual_begin(), TL.getNumProtocols()), in TransformObjCObjectType()
7154 for (unsigned i = 0, n = TL.getNumProtocols(); i != n; ++i) in TransformObjCObjectType()
H A DSemaDeclObjC.cpp1129 ProtocolLocs.append(OPT->getNumProtocols(), SuperLoc); in ActOnTypedefedProtocols()
/freebsd-13.1/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriter.cpp339 if (TL.getNumProtocols()) { in VisitObjCTypeParamTypeLoc()
343 for (unsigned i = 0, e = TL.getNumProtocols(); i != e; ++i) in VisitObjCTypeParamTypeLoc()
482 for (unsigned i = 0, e = TL.getNumProtocols(); i != e; ++i) in VisitObjCObjectTypeLoc()
H A DASTReader.cpp6773 if (TL.getNumProtocols()) { in VisitObjCTypeParamTypeLoc()
6777 for (unsigned i = 0, e = TL.getNumProtocols(); i != e; ++i) in VisitObjCTypeParamTypeLoc()
6789 for (unsigned i = 0, e = TL.getNumProtocols(); i != e; ++i) in VisitObjCObjectTypeLoc()