Searched refs:getNumProtocols (Results 1 - 9 of 9) sorted by relevance

/freebsd-10.3-release/contrib/llvm/tools/clang/include/clang/AST/
H A DTypeLoc.h837 unsigned getNumProtocols() const { function in class:clang::ObjCObjectTypeLoc
838 return this->getTypePtr()->getNumProtocols();
842 assert(i < getNumProtocols() && "Index is out of bounds!");
846 assert(i < getNumProtocols() && "Index is out of bounds!");
851 assert(i < getNumProtocols() && "Index is out of bounds!");
875 for (unsigned i = 0, e = getNumProtocols(); i != e; ++i)
880 return this->getNumProtocols() * sizeof(SourceLocation);
H A DCanonicalType.h645 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(unsigned, getNumProtocols)
663 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(unsigned, getNumProtocols)
H A DType.h4331 qual_iterator qual_end() const { return qual_begin() + getNumProtocols(); }
4333 bool qual_empty() const { return getNumProtocols() == 0; }
4335 /// getNumProtocols - Return the number of qualifying protocols in this
4337 unsigned getNumProtocols() const { return ObjCObjectTypeBits.NumProtocols; } function in class:clang::FunctionType::ExtInfo::FunctionProtoType::ObjCObjectType
4341 assert(I < getNumProtocols() && "Out-of-range protocol access");
4424 getNumProtocols, enumerator in enum:clang::FunctionType::ExtInfo::FunctionProtoType::ObjCInterfaceType::__anon2961
4540 /// getNumProtocols - Return the number of qualifying protocols on
4542 unsigned getNumProtocols() const { function in class:clang::FunctionType::ExtInfo::FunctionProtoType::ObjCObjectPointerType
4543 return getObjectType()->getNumProtocols();
/freebsd-10.3-release/contrib/llvm/tools/clang/lib/AST/
H A DType.cpp474 assert(getNumProtocols() == NumProtocols &&
486 if (T->getNumProtocols() && T->getInterface())
2065 Profile(ID, getBaseType(), qual_begin(), getNumProtocols());
H A DASTImporter.cpp808 if (Obj1->getNumProtocols() != Obj2->getNumProtocols())
810 for (unsigned I = 0, N = Obj1->getNumProtocols(); I != N; ++I) {
H A DASTContext.cpp6706 unsigned LHSNumProtocols = LHS->getNumProtocols();
6717 unsigned RHSNumProtocols = RHS->getNumProtocols();
6779 if (LHS->getNumProtocols() == 0)
6784 if (RHS->getNumProtocols() == 0) {
/freebsd-10.3-release/contrib/llvm/tools/clang/lib/Sema/
H A DSemaType.cpp922 if (ObjT->getNumProtocols())
3527 assert(TL.getNumProtocols() > 0);
3528 assert(TL.getNumProtocols() == DS.getNumProtocolQualifiers());
3534 assert(TL.getNumProtocols() == 0);
/freebsd-10.3-release/contrib/llvm/tools/clang/lib/Serialization/
H A DASTWriter.cpp397 Record.push_back(T->getNumProtocols());
624 for (unsigned i = 0, e = TL.getNumProtocols(); i != e; ++i)
H A DASTReader.cpp5173 for (unsigned i = 0, e = TL.getNumProtocols(); i != e; ++i)

Completed in 296 milliseconds