Home
last modified time | relevance | path

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

/external/clang/include/clang/AST/
DTypeLoc.h837 unsigned getNumProtocols() const { in getNumProtocols() function
838 return this->getTypePtr()->getNumProtocols(); in getNumProtocols()
842 assert(i < getNumProtocols() && "Index is out of bounds!"); in getProtocolLoc()
846 assert(i < getNumProtocols() && "Index is out of bounds!"); in setProtocolLoc()
851 assert(i < getNumProtocols() && "Index is out of bounds!"); in getProtocol()
875 for (unsigned i = 0, e = getNumProtocols(); i != e; ++i) in initializeLocal()
880 return this->getNumProtocols() * sizeof(SourceLocation); in getExtraLocalDataSize()
DCanonicalType.h644 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(unsigned, getNumProtocols)
662 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(unsigned, getNumProtocols)
DType.h4358 qual_iterator qual_end() const { return qual_begin() + getNumProtocols(); }
4360 bool qual_empty() const { return getNumProtocols() == 0; }
4364 unsigned getNumProtocols() const { return ObjCObjectTypeBits.NumProtocols; }
4368 assert(I < getNumProtocols() && "Out-of-range protocol access");
4451 getNumProtocols,
4571 unsigned getNumProtocols() const {
4572 return getObjectType()->getNumProtocols();
/external/clang/tools/libclang/
DIndexTypeSourceInfo.cpp66 for (unsigned i = 0, e = TL.getNumProtocols(); i != e; ++i) { in VisitObjCObjectTypeLoc()
DCIndex.cpp1484 for (unsigned I = 0, N = TL.getNumProtocols(); I != N; ++I) { in VisitObjCObjectTypeLoc()
/external/clang/lib/AST/
DType.cpp478 assert(getNumProtocols() == NumProtocols && in ObjCObjectType()
490 if (T->getNumProtocols() && T->getInterface()) in getAsObjCQualifiedInterfaceType()
2093 Profile(ID, getBaseType(), qual_begin(), getNumProtocols()); in Profile()
DASTImporter.cpp807 if (Obj1->getNumProtocols() != Obj2->getNumProtocols()) in IsStructurallyEquivalent()
809 for (unsigned I = 0, N = Obj1->getNumProtocols(); I != N; ++I) { in IsStructurallyEquivalent()
DASTContext.cpp6631 unsigned LHSNumProtocols = LHS->getNumProtocols(); in getIntersectionOfProtocols()
6642 unsigned RHSNumProtocols = RHS->getNumProtocols(); in getIntersectionOfProtocols()
6704 if (LHS->getNumProtocols() == 0) in canAssignObjCInterfaces()
6709 if (RHS->getNumProtocols() == 0) { in canAssignObjCInterfaces()
/external/clang/lib/Sema/
DSemaType.cpp923 if (ObjT->getNumProtocols()) in ConvertDeclSpecToType()
3510 assert(TL.getNumProtocols() > 0); in VisitObjCObjectTypeLoc()
3511 assert(TL.getNumProtocols() == DS.getNumProtocolQualifiers()); in VisitObjCObjectTypeLoc()
3517 assert(TL.getNumProtocols() == 0); in VisitObjCObjectTypeLoc()
/external/clang/lib/Serialization/
DASTWriter.cpp411 Record.push_back(T->getNumProtocols()); in VisitObjCObjectType()
640 for (unsigned i = 0, e = TL.getNumProtocols(); i != e; ++i) in VisitObjCObjectTypeLoc()
DASTReader.cpp5757 for (unsigned i = 0, e = TL.getNumProtocols(); i != e; ++i) in VisitObjCObjectTypeLoc()