Home
last modified time | relevance | path

Searched refs:DeclGroup (Results 1 – 7 of 7) sorted by relevance

/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A DDeclGroup.h25 class DeclGroup final : private llvm::TrailingObjects<DeclGroup, Decl *> {
30 DeclGroup() = default;
31 DeclGroup(unsigned numdecls, Decl** decls);
36 static DeclGroup *Create(ASTContext &C, Decl **Decls, unsigned NumDecls);
65 explicit DeclGroupRef(DeclGroup* dg) in DeclGroupRef()
73 return DeclGroupRef(DeclGroup::Create(C, Decls, NumDecls)); in Create()
91 DeclGroup &getDeclGroup() { in getDeclGroup()
93 return *((DeclGroup*)(reinterpret_cast<uintptr_t>(D) & ~Mask)); in getDeclGroup()
95 const DeclGroup &getDeclGroup() const { in getDeclGroup()
108 DeclGroup &G = getDeclGroup(); in end()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DDeclGroup.cpp20 DeclGroup* DeclGroup::Create(ASTContext &C, Decl **Decls, unsigned NumDecls) { in Create()
23 void *Mem = C.Allocate(Size, alignof(DeclGroup)); in Create()
24 new (Mem) DeclGroup(NumDecls, Decls); in Create()
25 return static_cast<DeclGroup*>(Mem); in Create()
28 DeclGroup::DeclGroup(unsigned numdecls, Decl** decls) : NumDecls(numdecls) { in DeclGroup() function in DeclGroup
H A DCMakeLists.txt43 DeclGroup.cpp
/netbsd-src/external/apache2/llvm/lib/libclangAST/
H A DMakefile35 DeclGroup.cpp \
/netbsd-src/external/apache2/llvm/dist/llvm/utils/gn/secondary/clang/lib/AST/
H A DBUILD.gn69 "DeclGroup.cpp",
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGDebugInfo.cpp4390 DeclGroupRef DeclGroup = DeclStmtPtr->getDeclGroup(); in EmitDeclare() local
4391 Decl *Decl = DeclGroup.getSingleDecl(); in EmitDeclare()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Serialization/
H A DASTReaderStmt.cpp355 S->setDeclGroup(DeclGroupRef(DeclGroup::Create(Record.getContext(), in VisitDeclStmt()