Home
last modified time | relevance | path

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

/external/clang/include/clang/AST/
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()
DASTImporter.h244 unsigned NumDecls);
DDeclBase.h997 static void printGroup(Decl** Begin, unsigned NumDecls,
/external/clang/lib/AST/
DDeclGroup.cpp20 DeclGroup* DeclGroup::Create(ASTContext &C, Decl **Decls, unsigned NumDecls) { in Create() argument
23 assert(NumDecls > 1 && "Invalid DeclGroup"); in Create()
24 unsigned Size = sizeof(DeclGroup) + sizeof(Decl*) * NumDecls; in Create()
26 new (Mem) DeclGroup(NumDecls, Decls); in Create()
30 DeclGroup::DeclGroup(unsigned numdecls, Decl** decls) : NumDecls(numdecls) { in DeclGroup()
DDeclPrinter.cpp147 void Decl::printGroup(Decl** Begin, unsigned NumDecls, in printGroup() argument
150 if (NumDecls == 1) { in printGroup()
155 Decl** End = Begin + NumDecls; in printGroup()
DASTImporter.cpp4577 size_t NumDecls = DG.end() - DG.begin(); in ImportDeclGroup() local
4578 SmallVector<Decl *, 1> ToDecls(NumDecls); in ImportDeclGroup()
4586 NumDecls); in ImportDeclGroup()
5864 unsigned NumDecls) { in HandleNameConflict() argument
/external/clang/test/CodeGen/
Dbyval-memcpy-elim.c4 long NumDecls; member
9 long NumDecls; member
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h2680 const unsigned NumDecls = std::distance(Node.decl_begin(), Node.decl_end()); in AST_MATCHER_P2() local
2681 if (N >= NumDecls) in AST_MATCHER_P2()
/external/clang/lib/Serialization/
DASTReader.cpp971 for (unsigned NumDecls = DataLen / 4; NumDecls; --NumDecls) { in ReadDataInto() local
7859 unsigned NumDecls = Record[Idx++]; in ReadUnresolvedSet() local
7860 Set.reserve(Context, NumDecls); in ReadUnresolvedSet()
7861 while (NumDecls--) { in ReadUnresolvedSet()
DASTReaderStmt.cpp1499 unsigned NumDecls = Record[Idx++]; in VisitOverloadExpr() local
1501 for (unsigned i = 0; i != NumDecls; ++i) { in VisitOverloadExpr()