Searched refs:NumDecls (Results 1 – 8 of 8) sorted by relevance
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/ |
| H A D | DeclGroup.h | 28 unsigned NumDecls = 0; variable 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."); 69 static DeclGroupRef Create(ASTContext &C, Decl **Decls, unsigned NumDecls) { in Create() argument 70 if (NumDecls == 0) in Create() 72 if (NumDecls == 1) in Create() 74 return DeclGroupRef(DeclGroup::Create(C, Decls, NumDecls)); in Create()
|
| H A D | ASTImporter.h | 394 unsigned NumDecls);
|
| H A D | DeclBase.h | 1128 static void printGroup(Decl** Begin, unsigned NumDecls,
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/AST/ |
| H A D | DeclGroup.cpp | 21 DeclGroup* DeclGroup::Create(ASTContext &C, Decl **Decls, unsigned NumDecls) { in Create() argument 22 assert(NumDecls > 1 && "Invalid DeclGroup"); in Create() 23 unsigned Size = totalSizeToAlloc<Decl *>(NumDecls); in Create() 25 new (Mem) DeclGroup(NumDecls, Decls); in Create() 29 DeclGroup::DeclGroup(unsigned numdecls, Decl** decls) : NumDecls(numdecls) { in DeclGroup()
|
| H A D | DeclPrinter.cpp | 163 void Decl::printGroup(Decl** Begin, unsigned NumDecls, in printGroup() argument 166 if (NumDecls == 1) { in printGroup() 171 Decl** End = Begin + NumDecls; in printGroup()
|
| H A D | ASTImporter.cpp | 870 size_t NumDecls = DG.end() - DG.begin(); in import() local 872 ToDecls.reserve(NumDecls); in import() 881 NumDecls); in import() 8452 unsigned NumDecls) { in HandleNameConflict() argument
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchers.h | 3566 const unsigned NumDecls = std::distance(Node.decl_begin(), Node.decl_end()); in AST_MATCHER_P2() local 3567 if (N >= NumDecls) in AST_MATCHER_P2()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Serialization/ |
| H A D | ASTReader.cpp | 1138 for (unsigned NumDecls = DataLen / 4; NumDecls; --NumDecls) { in ReadDataInto() local 8842 unsigned NumDecls = Record[Idx++]; in ReadUnresolvedSet() local 8843 Set.reserve(getContext(), NumDecls); in ReadUnresolvedSet() 8844 while (NumDecls--) { in ReadUnresolvedSet()
|