Searched refs:NumDecls (Results 1 – 9 of 9) sorted by relevance
| /freebsd/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | DeclGroup.h | 27 unsigned NumDecls = 0; variable 36 static DeclGroup *Create(ASTContext &C, Decl **Decls, unsigned NumDecls); 38 unsigned size() const { return NumDecls; } in size() 40 Decl *&operator[](unsigned i) { return getTrailingObjects(NumDecls)[i]; } 43 return getTrailingObjects(NumDecls)[i]; 64 static DeclGroupRef Create(ASTContext &C, Decl **Decls, unsigned NumDecls) { in Create() argument 65 if (NumDecls == 0) in Create() 67 if (NumDecls == 1) in Create() 69 return DeclGroupRef(DeclGroup::Create(C, Decls, NumDecls)); in Create()
|
| H A D | ASTImporter.h | 530 NamedDecl **Decls, unsigned NumDecls);
|
| H A D | DeclBase.h | 1247 static void printGroup(Decl** Begin, unsigned NumDecls,
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A 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()
|
| H A D | DeclPrinter.cpp | 196 void Decl::printGroup(Decl** Begin, unsigned NumDecls, in printGroup() argument 199 if (NumDecls == 1) { in printGroup() 204 Decl** End = Begin + NumDecls; in printGroup()
|
| H A D | ASTImporter.cpp | 975 size_t NumDecls = DG.end() - DG.begin(); in import() local 977 ToDecls.reserve(NumDecls); in import() 986 NumDecls); in import() 10775 unsigned NumDecls) { in HandleNameConflict() argument
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | PredicateInfo.cpp | 519 auto NumDecls = F.getParent()->getNumNamedValues(); in materializeStack() local 522 if (NumDecls != F.getParent()->getNumNamedValues()) in materializeStack()
|
| /freebsd/contrib/llvm-project/clang/lib/Serialization/ |
| H A D | ASTReader.cpp | 1297 for (unsigned NumDecls = DataLen / sizeof(DeclID); NumDecls; --NumDecls) { in ReadDataIntoImpl() local 1371 for (unsigned NumDecls = in ReadDataInto() local 1373 NumDecls; --NumDecls) { in ReadDataInto() 9889 unsigned NumDecls = readInt(); in readUnresolvedSet() local 9890 Set.reserve(getContext(), NumDecls); in readUnresolvedSet() 9891 while (NumDecls--) { in readUnresolvedSet()
|
| /freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchers.h | 4821 const unsigned NumDecls = std::distance(Node.decl_begin(), Node.decl_end()); in AST_MATCHER_P2() local 4822 if (N >= NumDecls) in AST_MATCHER_P2()
|