Home
last modified time | relevance | path

Searched refs:NumDecls (Results 1 – 8 of 8) sorted by relevance

/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A DDeclGroup.h27 unsigned NumDecls = 0; variable
36 static DeclGroup *Create(ASTContext &C, Decl **Decls, unsigned NumDecls);
38 unsigned size() const { return NumDecls; } in size()
41 assert (i < NumDecls && "Out-of-bounds access.");
46 assert (i < NumDecls && "Out-of-bounds access.");
68 static DeclGroupRef Create(ASTContext &C, Decl **Decls, unsigned NumDecls) { in Create() argument
69 if (NumDecls == 0) in Create()
71 if (NumDecls == 1) in Create()
73 return DeclGroupRef(DeclGroup::Create(C, Decls, NumDecls)); in Create()
H A DASTImporter.h541 NamedDecl **Decls, unsigned NumDecls);
H A DDeclBase.h1167 static void printGroup(Decl** Begin, unsigned NumDecls,
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DDeclGroup.cpp20 DeclGroup* DeclGroup::Create(ASTContext &C, Decl **Decls, unsigned NumDecls) { in Create() argument
21 assert(NumDecls > 1 && "Invalid DeclGroup"); in Create()
22 unsigned Size = totalSizeToAlloc<Decl *>(NumDecls); in Create()
24 new (Mem) DeclGroup(NumDecls, Decls); in Create()
28 DeclGroup::DeclGroup(unsigned numdecls, Decl** decls) : NumDecls(numdecls) { in DeclGroup()
H A DDeclPrinter.cpp184 void Decl::printGroup(Decl** Begin, unsigned NumDecls, in printGroup() argument
187 if (NumDecls == 1) { in printGroup()
192 Decl** End = Begin + NumDecls; in printGroup()
H A DASTImporter.cpp899 size_t NumDecls = DG.end() - DG.begin(); in import() local
901 ToDecls.reserve(NumDecls); in import()
910 NumDecls); in import()
9309 unsigned NumDecls) { in HandleNameConflict() argument
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/ASTMatchers/
H A DASTMatchers.h4396 const unsigned NumDecls = std::distance(Node.decl_begin(), Node.decl_end()); in AST_MATCHER_P2() local
4397 if (N >= NumDecls) in AST_MATCHER_P2()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Serialization/
H A DASTReader.cpp1151 for (unsigned NumDecls = DataLen / 4; NumDecls; --NumDecls) { in ReadDataInto() local
8807 unsigned NumDecls = readInt(); in readUnresolvedSet() local
8808 Set.reserve(getContext(), NumDecls); in readUnresolvedSet()
8809 while (NumDecls--) { in readUnresolvedSet()