Searched refs:NumDecls (Results 1 - 8 of 8) sorted by relevance
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/ |
H A D | DeclGroup.cpp | 20 DeclGroup* DeclGroup::Create(ASTContext &C, Decl **Decls, unsigned NumDecls) { argument 21 assert(NumDecls > 1 && "Invalid DeclGroup"); 22 unsigned Size = totalSizeToAlloc<Decl *>(NumDecls); 24 new (Mem) DeclGroup(NumDecls, Decls); 28 DeclGroup::DeclGroup(unsigned numdecls, Decl** decls) : NumDecls(numdecls) {
|
H A D | DeclPrinter.cpp | 178 void Decl::printGroup(Decl** Begin, unsigned NumDecls, argument 181 if (NumDecls == 1) { 186 Decl** End = Begin + NumDecls;
|
H A D | ASTImporter.cpp | 909 size_t NumDecls = DG.end() - DG.begin(); 911 ToDecls.reserve(NumDecls); 920 NumDecls); 8958 unsigned NumDecls) { 8954 HandleNameConflict(DeclarationName Name, DeclContext *DC, unsigned IDNS, NamedDecl **Decls, unsigned NumDecls) argument
|
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/AST/ |
H A D | DeclGroup.h | 27 unsigned NumDecls = 0; member in class:clang::final 36 static DeclGroup *Create(ASTContext &C, Decl **Decls, unsigned NumDecls); 38 unsigned size() const { return NumDecls; } 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) { 69 if (NumDecls == 0) 71 if (NumDecls == 1) 73 return DeclGroupRef(DeclGroup::Create(C, Decls, NumDecls));
|
H A D | ASTImporter.h | 528 /// \param NumDecls the number of conflicting declarations in \p Decls. 534 NamedDecl **Decls, unsigned NumDecls);
|
H A D | DeclBase.h | 1136 static void printGroup(Decl** Begin, unsigned NumDecls,
|
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/ASTMatchers/ |
H A D | ASTMatchers.h | 3873 const unsigned NumDecls = std::distance(Node.decl_begin(), Node.decl_end()); local 3874 if (N >= NumDecls)
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/Serialization/ |
H A D | ASTReader.cpp | 1141 for (unsigned NumDecls = DataLen / 4; NumDecls; --NumDecls) { 8659 unsigned NumDecls = readInt(); 8660 Set.reserve(getContext(), NumDecls); 8661 while (NumDecls--) {
|
Completed in 269 milliseconds