/external/llvm-project/clang/include/clang/AST/ |
D | TypeLoc.h | 769 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 …]
|
D | CanonicalType.h | 594 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(unsigned, getNumProtocols) 613 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(unsigned, getNumProtocols)
|
D | Type.h | 5674 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/ |
D | TypeLoc.h | 910 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()
|
D | CanonicalType.h | 574 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(unsigned, getNumProtocols) 592 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(unsigned, getNumProtocols)
|
D | Type.h | 4841 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/ |
D | TypeLoc.cpp | 461 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()
|
D | ASTStructuralEquivalence.cpp | 1143 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()
|
D | Type.cpp | 1213 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()
|
D | ASTDiagnostic.cpp | 199 Ty->getNumProtocols()), in Desugar()
|
/external/clang/lib/Index/ |
D | IndexTypeSourceInfo.cpp | 100 for (unsigned i = 0, e = TL.getNumProtocols(); i != e; ++i) { in VisitObjCObjectTypeLoc()
|
/external/llvm-project/clang/lib/Index/ |
D | IndexTypeSourceInfo.cpp | 130 for (unsigned i = 0, e = TL.getNumProtocols(); i != e; ++i) { in VisitObjCObjectTypeLoc()
|
/external/clang/lib/AST/ |
D | Type.cpp | 551 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()
|
D | TypeLoc.cpp | 404 for (unsigned i = 0, e = getNumProtocols(); i != e; ++i) in initializeLocal()
|
D | ASTDiagnostic.cpp | 196 Ty->getNumProtocols()), in Desugar()
|
D | ASTImporter.cpp | 907 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/ |
D | FindTarget.cpp | 627 if (OOT->isObjCQualifiedId() && OOT->getNumProtocols() == 1) in add()
|
/external/llvm-project/clang/tools/libclang/ |
D | CXType.cpp | 1181 return OT->getNumProtocols(); in clang_Type_getNumObjCProtocolRefs()
|
D | CIndex.cpp | 1607 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/ |
D | SemaType.cpp | 1202 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()
|
D | TreeTransform.h | 6911 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/ |
D | ASTWriter.cpp | 338 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()
|
D | ASTReader.cpp | 6724 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/ |
D | ASTWriter.cpp | 459 Record.push_back(T->getNumProtocols()); in VisitObjCObjectType() 698 for (unsigned i = 0, e = TL.getNumProtocols(); i != e; ++i) in VisitObjCObjectTypeLoc()
|
/external/clang/lib/Sema/ |
D | SemaType.cpp | 1201 if (ObjCObjectTL.getNumProtocols() > 0) { in actOnObjCTypeArgsAndProtocolQualifiers() 1202 assert(ObjCObjectTL.getNumProtocols() == Protocols.size()); in actOnObjCTypeArgsAndProtocolQualifiers()
|