Home
last modified time | relevance | path

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

/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.h571 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(unsigned, getNumProtocols)
589 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(unsigned, getNumProtocols)
DType.h4667 qual_iterator qual_end() const { return qual_begin() + getNumProtocols(); }
4669 bool qual_empty() const { return getNumProtocols() == 0; }
4673 unsigned getNumProtocols() const { return ObjCObjectTypeBits.NumProtocols; }
4677 assert(I < getNumProtocols() && "Out-of-range protocol access");
4683 return ArrayRef<ObjCProtocolDecl *>(qual_begin(), getNumProtocols());
4794 getNumProtocols,
4952 unsigned getNumProtocols() const {
4953 return getObjectType()->getNumProtocols();
/external/clang/tools/libclang/
DIndexTypeSourceInfo.cpp66 for (unsigned i = 0, e = TL.getNumProtocols(); i != e; ++i) { in VisitObjCObjectTypeLoc()
DCIndex.cpp1545 for (unsigned I = 0, N = TL.getNumProtocols(); I != N; ++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()
1463 if (T->getNumProtocols() && T->getInterface()) in getAsObjCQualifiedInterfaceType()
3207 llvm::makeArrayRef(qual_begin(), getNumProtocols()), in Profile()
DTypeLoc.cpp412 for (unsigned i = 0, e = getNumProtocols(); i != e; ++i) in initializeLocal()
DASTDiagnostic.cpp195 Ty->getNumProtocols()), in Desugar()
DASTImporter.cpp852 if (Obj1->getNumProtocols() != Obj2->getNumProtocols()) in IsStructurallyEquivalent()
854 for (unsigned I = 0, N = Obj1->getNumProtocols(); I != N; ++I) { in IsStructurallyEquivalent()
DASTContext.cpp7211 if (LHS->getNumProtocols() > 0) { in canAssignObjCInterfaces()
/external/clang/lib/Serialization/
DASTWriter.cpp430 Record.push_back(T->getNumProtocols()); in VisitObjCObjectType()
664 for (unsigned i = 0, e = TL.getNumProtocols(); i != e; ++i) in VisitObjCObjectTypeLoc()
DASTReader.cpp5896 for (unsigned i = 0, e = TL.getNumProtocols(); i != e; ++i) in VisitObjCObjectTypeLoc()
/external/clang/lib/Sema/
DSemaType.cpp1147 if (ObjCObjectTL.getNumProtocols() > 0) { in actOnObjCTypeArgsAndProtocolQualifiers()
1148 assert(ObjCObjectTL.getNumProtocols() == Protocols.size()); in actOnObjCTypeArgsAndProtocolQualifiers()
DTreeTransform.h5891 TL.getNumProtocols()), in TransformObjCObjectType()
5907 for (unsigned i = 0, n = TL.getNumProtocols(); i != n; ++i) in TransformObjCObjectType()