Home
last modified time | relevance | path

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

12

/external/llvm-project/clang/include/clang/AST/
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()
808 return llvm::makeArrayRef(getProtocolLocArray(), getNumProtocols()); in getProtocolLocs()
814 if (!this->getNumProtocols()) return 0; in getExtraLocalDataSize()
817 return (this->getNumProtocols() + 2) * sizeof(SourceLocation) ; in getExtraLocalDataSize()
[all …]
DCanonicalType.h594 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(unsigned, getNumProtocols)
613 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(unsigned, getNumProtocols)
DType.h5674 assert(getNumProtocols() == protocols.size() &&
5687 qual_iterator qual_end() const { return qual_begin() + getNumProtocols(); }
5689 bool qual_empty() const { return getNumProtocols() == 0; }
5693 unsigned getNumProtocols() const {
5699 assert(I < getNumProtocols() && "Out-of-range protocol access");
5705 return ArrayRef<ObjCProtocolDecl *>(qual_begin(), getNumProtocols());
6017 getNumProtocols,
6175 unsigned getNumProtocols() const {
6176 return getObjectType()->getNumProtocols();
/external/clang/include/clang/AST/
DTypeLoc.h910 unsigned getNumProtocols() const { in getNumProtocols() function
911 return this->getTypePtr()->getNumProtocols(); in getNumProtocols()
915 assert(i < getNumProtocols() && "Index is out of bounds!"); in getProtocolLoc()
919 assert(i < getNumProtocols() && "Index is out of bounds!"); in setProtocolLoc()
924 assert(i < getNumProtocols() && "Index is out of bounds!"); in getProtocol()
930 return llvm::makeArrayRef(getProtocolLocArray(), getNumProtocols()); in getProtocolLocs()
959 + this->getNumProtocols() * sizeof(SourceLocation); in getExtraLocalDataSize()
DCanonicalType.h574 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(unsigned, getNumProtocols)
592 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(unsigned, getNumProtocols)
DType.h4841 qual_iterator qual_end() const { return qual_begin() + getNumProtocols(); }
4843 bool qual_empty() const { return getNumProtocols() == 0; }
4847 unsigned getNumProtocols() const { return ObjCObjectTypeBits.NumProtocols; }
4851 assert(I < getNumProtocols() && "Out-of-range protocol access");
4857 return ArrayRef<ObjCProtocolDecl *>(qual_begin(), getNumProtocols());
4968 getNumProtocols,
5126 unsigned getNumProtocols() const {
5127 return getObjectType()->getNumProtocols();
/external/llvm-project/clang/lib/AST/
DTypeLoc.cpp461 if (!getNumProtocols()) return; in initializeLocal()
465 for (unsigned i = 0, e = getNumProtocols(); i != e; ++i) in initializeLocal()
481 for (unsigned i = 0, e = getNumProtocols(); i != e; ++i) in initializeLocal()
DASTStructuralEquivalence.cpp1143 if (Obj1->getNumProtocols() != Obj2->getNumProtocols()) in IsStructurallyEquivalent()
1145 for (unsigned I = 0, N = Obj1->getNumProtocols(); I != N; ++I) { in IsStructurallyEquivalent()
1159 if (Obj1->getNumProtocols() != Obj2->getNumProtocols()) in IsStructurallyEquivalent()
1161 for (unsigned I = 0, N = Obj1->getNumProtocols(); I != N; ++I) { in IsStructurallyEquivalent()
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()
3711 llvm::makeArrayRef(qual_begin(), getNumProtocols()), in Profile()
3728 llvm::makeArrayRef(qual_begin(), getNumProtocols())); in Profile()
DASTDiagnostic.cpp199 Ty->getNumProtocols()), in Desugar()
/external/clang/lib/Index/
DIndexTypeSourceInfo.cpp100 for (unsigned i = 0, e = TL.getNumProtocols(); i != e; ++i) { in VisitObjCObjectTypeLoc()
/external/llvm-project/clang/lib/Index/
DIndexTypeSourceInfo.cpp130 for (unsigned i = 0, e = TL.getNumProtocols(); i != e; ++i) { in VisitObjCObjectTypeLoc()
/external/clang/lib/AST/
DType.cpp551 assert(getNumProtocols() == protocols.size() && in ObjCObjectType()
1005 T->getNumProtocols()), in TRIVIAL_TYPE_CLASS()
1212 objcObjectType->getNumProtocols()); in substObjCTypeArgs()
1230 objcObjectType->getNumProtocols()); in substObjCTypeArgs()
1469 if (T->getNumProtocols() && T->getInterface()) in getAsObjCQualifiedInterfaceType()
3211 llvm::makeArrayRef(qual_begin(), getNumProtocols()), in Profile()
DTypeLoc.cpp404 for (unsigned i = 0, e = getNumProtocols(); i != e; ++i) in initializeLocal()
DASTDiagnostic.cpp196 Ty->getNumProtocols()), in Desugar()
DASTImporter.cpp907 if (Obj1->getNumProtocols() != Obj2->getNumProtocols()) in IsStructurallyEquivalent()
909 for (unsigned I = 0, N = Obj1->getNumProtocols(); I != N; ++I) { in IsStructurallyEquivalent()
/external/llvm-project/clang-tools-extra/clangd/
DFindTarget.cpp627 if (OOT->isObjCQualifiedId() && OOT->getNumProtocols() == 1) in add()
/external/llvm-project/clang/tools/libclang/
DCXType.cpp1181 return OT->getNumProtocols(); in clang_Type_getNumObjCProtocolRefs()
DCIndex.cpp1607 for (unsigned I = 0, N = TL.getNumProtocols(); I != N; ++I) { in VisitObjCTypeParamTypeLoc()
1625 for (unsigned I = 0, N = TL.getNumProtocols(); I != N; ++I) { in VisitObjCObjectTypeLoc()
/external/llvm-project/clang/lib/Sema/
DSemaType.cpp1202 if (OTPTL.getNumProtocols() > 0) { in actOnObjCTypeArgsAndProtocolQualifiers()
1203 assert(OTPTL.getNumProtocols() == Protocols.size()); in actOnObjCTypeArgsAndProtocolQualifiers()
1229 if (ObjCObjectTL.getNumProtocols() > 0) { in actOnObjCTypeArgsAndProtocolQualifiers()
1230 assert(ObjCObjectTL.getNumProtocols() == Protocols.size()); in actOnObjCTypeArgsAndProtocolQualifiers()
DTreeTransform.h6911 TL.getNumProtocols()), in TransformObjCTypeParamType()
6919 if (TL.getNumProtocols()) { in TransformObjCTypeParamType()
6921 for (unsigned i = 0, n = TL.getNumProtocols(); i != n; ++i) in TransformObjCTypeParamType()
7032 llvm::makeArrayRef(TL.getTypePtr()->qual_begin(), TL.getNumProtocols()), in TransformObjCObjectType()
7046 for (unsigned i = 0, n = TL.getNumProtocols(); i != n; ++i) in TransformObjCObjectType()
/external/llvm-project/clang/lib/Serialization/
DASTWriter.cpp338 if (TL.getNumProtocols()) { in VisitObjCTypeParamTypeLoc()
342 for (unsigned i = 0, e = TL.getNumProtocols(); i != e; ++i) in VisitObjCTypeParamTypeLoc()
481 for (unsigned i = 0, e = TL.getNumProtocols(); i != e; ++i) in VisitObjCObjectTypeLoc()
DASTReader.cpp6724 if (TL.getNumProtocols()) { in VisitObjCTypeParamTypeLoc()
6728 for (unsigned i = 0, e = TL.getNumProtocols(); i != e; ++i) in VisitObjCTypeParamTypeLoc()
6740 for (unsigned i = 0, e = TL.getNumProtocols(); i != e; ++i) in VisitObjCObjectTypeLoc()
/external/clang/lib/Serialization/
DASTWriter.cpp459 Record.push_back(T->getNumProtocols()); in VisitObjCObjectType()
698 for (unsigned i = 0, e = TL.getNumProtocols(); i != e; ++i) in VisitObjCObjectTypeLoc()
/external/clang/lib/Sema/
DSemaType.cpp1201 if (ObjCObjectTL.getNumProtocols() > 0) { in actOnObjCTypeArgsAndProtocolQualifiers()
1202 assert(ObjCObjectTL.getNumProtocols() == Protocols.size()); in actOnObjCTypeArgsAndProtocolQualifiers()

12