Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/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()
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 …]
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();
/netbsd-src/external/apache2/llvm/dist/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.cpp1161 if (Obj1->getNumProtocols() != Obj2->getNumProtocols()) in IsStructurallyEquivalent()
1163 for (unsigned I = 0, N = Obj1->getNumProtocols(); I != N; ++I) { in IsStructurallyEquivalent()
1177 if (Obj1->getNumProtocols() != Obj2->getNumProtocols()) in IsStructurallyEquivalent()
1179 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()
3720 llvm::makeArrayRef(qual_begin(), getNumProtocols()), in Profile()
3737 llvm::makeArrayRef(qual_begin(), getNumProtocols())); in Profile()
H A DASTDiagnostic.cpp199 Ty->getNumProtocols()), in Desugar()
H A DASTContext.cpp9290 if (LHS->getNumProtocols() > 0) { in canAssignObjCInterfaces()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Index/
H A DIndexTypeSourceInfo.cpp130 for (unsigned i = 0, e = TL.getNumProtocols(); i != e; ++i) { in VisitObjCObjectTypeLoc()
/netbsd-src/external/apache2/llvm/dist/clang/tools/libclang/
H A DCXType.cpp1181 return OT->getNumProtocols(); in clang_Type_getNumObjCProtocolRefs()
H A DCIndex.cpp1609 for (unsigned I = 0, N = TL.getNumProtocols(); I != N; ++I) { in VisitObjCTypeParamTypeLoc()
1627 for (unsigned I = 0, N = TL.getNumProtocols(); I != N; ++I) { in VisitObjCObjectTypeLoc()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A 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()
H A DTreeTransform.h6996 TL.getNumProtocols()), in TransformObjCTypeParamType()
7004 if (TL.getNumProtocols()) { in TransformObjCTypeParamType()
7006 for (unsigned i = 0, n = TL.getNumProtocols(); i != n; ++i) in TransformObjCTypeParamType()
7117 llvm::makeArrayRef(TL.getTypePtr()->qual_begin(), TL.getNumProtocols()), in TransformObjCObjectType()
7131 for (unsigned i = 0, n = TL.getNumProtocols(); i != n; ++i) in TransformObjCObjectType()
H A DSemaDeclObjC.cpp1129 ProtocolLocs.append(OPT->getNumProtocols(), SuperLoc); in ActOnTypedefedProtocols()
/netbsd-src/external/apache2/llvm/dist/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.cpp6751 if (TL.getNumProtocols()) { in VisitObjCTypeParamTypeLoc()
6755 for (unsigned i = 0, e = TL.getNumProtocols(); i != e; ++i) in VisitObjCTypeParamTypeLoc()
6767 for (unsigned i = 0, e = TL.getNumProtocols(); i != e; ++i) in VisitObjCObjectTypeLoc()