Home
last modified time | relevance | path

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

/minix/external/bsd/llvm/dist/clang/include/clang/AST/
H A DDeclGroup.h30 unsigned NumDecls; member
36 DeclGroup() : NumDecls(0) {} in DeclGroup()
40 static DeclGroup *Create(ASTContext &C, Decl **Decls, unsigned NumDecls);
42 unsigned size() const { return NumDecls; } in size()
45 assert (i < NumDecls && "Out-of-bounds access.");
50 assert (i < NumDecls && "Out-of-bounds access.");
72 static DeclGroupRef Create(ASTContext &C, Decl **Decls, unsigned NumDecls) { in Create() argument
73 if (NumDecls == 0) in Create()
75 if (NumDecls == 1) in Create()
77 return DeclGroupRef(DeclGroup::Create(C, Decls, NumDecls)); in Create()
H A DASTImporter.h239 unsigned NumDecls);
H A DDeclBase.h959 static void printGroup(Decl** Begin, unsigned NumDecls,
/minix/external/bsd/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 = sizeof(DeclGroup) + sizeof(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.cpp137 void Decl::printGroup(Decl** Begin, unsigned NumDecls, in printGroup() argument
140 if (NumDecls == 1) { in printGroup()
145 Decl** End = Begin + NumDecls; in printGroup()
H A DASTImporter.cpp5103 unsigned NumDecls) { in HandleNameConflict() argument
/minix/external/bsd/llvm/dist/clang/test/CodeGen/
H A Dbyval-memcpy-elim.c4 long NumDecls; member
9 long NumDecls; member
/minix/external/bsd/llvm/dist/clang/include/clang/ASTMatchers/
H A DASTMatchers.h2365 const unsigned NumDecls = std::distance(Node.decl_begin(), Node.decl_end()); in AST_MATCHER_P2() local
2366 if (N >= NumDecls) in AST_MATCHER_P2()
/minix/external/bsd/llvm/dist/clang/lib/Serialization/
H A DASTReader.cpp959 unsigned NumDecls = endian::readNext<uint16_t, little, unaligned>(d); in ReadData() local
962 return std::make_pair(Start, Start + NumDecls); in ReadData()
7818 unsigned NumDecls = Record[Idx++]; in ReadUnresolvedSet() local
7819 Set.reserve(Context, NumDecls); in ReadUnresolvedSet()
7820 while (NumDecls--) { in ReadUnresolvedSet()
H A DASTReaderStmt.cpp1458 unsigned NumDecls = Record[Idx++]; in VisitOverloadExpr() local
1460 for (unsigned i = 0; i != NumDecls; ++i) { in VisitOverloadExpr()