Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/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 …]
/openbsd-src/gnu/llvm/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.txt50 DeclGroup.cpp
/openbsd-src/gnu/usr.bin/clang/libclangAST/
H A DMakefile42 DeclGroup.cpp \
/openbsd-src/gnu/llvm/llvm/utils/gn/secondary/clang/lib/AST/
H A DBUILD.gn78 "DeclGroup.cpp",
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCGDebugInfo.cpp4593 DeclGroupRef DeclGroup = DeclStmtPtr->getDeclGroup(); in EmitDeclare() local
4594 Decl *Decl = DeclGroup.getSingleDecl(); in EmitDeclare()
/openbsd-src/gnu/llvm/clang/lib/Serialization/
H A DASTReaderStmt.cpp360 S->setDeclGroup(DeclGroupRef(DeclGroup::Create(Record.getContext(), in VisitDeclStmt()