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() 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) { in Create() argument 69 if (NumDecls == 0) in Create() 71 if (NumDecls == 1) in Create() 73 return DeclGroupRef(DeclGroup::Create(C, Decls, NumDecls)); in Create()
|
H A D | ASTImporter.h | 517 NamedDecl **Decls, unsigned NumDecls);
|
H A D | DeclBase.h | 1239 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 | 192 void Decl::printGroup(Decl** Begin, unsigned NumDecls, in printGroup() argument 195 if (NumDecls == 1) { in printGroup() 200 Decl** End = Begin + NumDecls; in printGroup()
|
H A D | ASTImporter.cpp | 921 size_t NumDecls = DG.end() - DG.begin(); in import() local 923 ToDecls.reserve(NumDecls); in import() 932 NumDecls); in import() 10407 unsigned NumDecls) { in HandleNameConflict() argument
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | PredicateInfo.cpp | 561 auto NumDecls = F.getParent()->getNumNamedValues(); in materializeStack() local 564 if (NumDecls != F.getParent()->getNumNamedValues()) in materializeStack() 577 auto NumDecls = F.getParent()->getNumNamedValues(); in materializeStack() local 580 if (NumDecls != F.getParent()->getNumNamedValues()) in materializeStack()
|
/freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/ |
H A D | ASTMatchers.h | 4728 const unsigned NumDecls = std::distance(Node.decl_begin(), Node.decl_end()); in AST_MATCHER_P2() local 4729 if (N >= NumDecls) in AST_MATCHER_P2()
|
/freebsd/contrib/llvm-project/clang/lib/Serialization/ |
H A D | ASTReader.cpp | 1261 for (unsigned NumDecls = DataLen / sizeof(DeclID); NumDecls; --NumDecls) { in ReadDataInto() local 9271 unsigned NumDecls = readInt(); in readUnresolvedSet() local 9272 Set.reserve(getContext(), NumDecls); in readUnresolvedSet() 9273 while (NumDecls--) { in readUnresolvedSet()
|