Searched refs:NumDecls (Results 1 – 10 of 10) sorted by relevance
/external/clang/include/clang/AST/ |
D | DeclGroup.h | 30 unsigned NumDecls; variable 33 DeclGroup() : NumDecls(0) {} in DeclGroup() 37 static DeclGroup *Create(ASTContext &C, Decl **Decls, unsigned NumDecls); 39 unsigned size() const { return NumDecls; } in size() 42 assert (i < NumDecls && "Out-of-bounds access."); 47 assert (i < NumDecls && "Out-of-bounds access."); 71 static DeclGroupRef Create(ASTContext &C, Decl **Decls, unsigned NumDecls) { in Create() argument 72 if (NumDecls == 0) in Create() 74 if (NumDecls == 1) in Create() 76 return DeclGroupRef(DeclGroup::Create(C, Decls, NumDecls)); in Create()
|
D | ASTImporter.h | 253 unsigned NumDecls);
|
D | DeclBase.h | 1015 static void printGroup(Decl** Begin, unsigned NumDecls,
|
/external/clang/lib/AST/ |
D | DeclGroup.cpp | 20 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()
|
D | DeclPrinter.cpp | 151 void Decl::printGroup(Decl** Begin, unsigned NumDecls, in printGroup() argument 154 if (NumDecls == 1) { in printGroup() 159 Decl** End = Begin + NumDecls; in printGroup()
|
D | ASTImporter.cpp | 4801 size_t NumDecls = DG.end() - DG.begin(); in ImportDeclGroup() local 4802 SmallVector<Decl *, 1> ToDecls(NumDecls); in ImportDeclGroup() 4810 NumDecls); in ImportDeclGroup() 6633 unsigned NumDecls) { in HandleNameConflict() argument
|
/external/clang/test/CodeGen/ |
D | byval-memcpy-elim.c | 4 long NumDecls; member 9 long NumDecls; member
|
/external/clang/include/clang/ASTMatchers/ |
D | ASTMatchers.h | 2976 const unsigned NumDecls = std::distance(Node.decl_begin(), Node.decl_end()); in AST_MATCHER_P2() local 2977 if (N >= NumDecls) in AST_MATCHER_P2()
|
/external/clang/lib/Serialization/ |
D | ASTReader.cpp | 981 for (unsigned NumDecls = DataLen / 4; NumDecls; --NumDecls) { in ReadDataInto() local 7915 unsigned NumDecls = Record[Idx++]; in ReadUnresolvedSet() local 7916 Set.reserve(Context, NumDecls); in ReadUnresolvedSet() 7917 while (NumDecls--) { in ReadUnresolvedSet()
|
D | ASTReaderStmt.cpp | 1519 unsigned NumDecls = Record[Idx++]; in VisitOverloadExpr() local 1521 for (unsigned i = 0; i != NumDecls; ++i) { in VisitOverloadExpr()
|