Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DDeclGroup.h26 class DeclGroup final : private llvm::TrailingObjects<DeclGroup, Decl *> {
31 DeclGroup() = default;
32 DeclGroup(unsigned numdecls, Decl** decls);
37 static DeclGroup *Create(ASTContext &C, Decl **Decls, unsigned NumDecls);
66 explicit DeclGroupRef(DeclGroup* dg) in DeclGroupRef()
74 return DeclGroupRef(DeclGroup::Create(C, Decls, NumDecls)); in Create()
92 DeclGroup &getDeclGroup() { in getDeclGroup()
94 return *((DeclGroup*)(reinterpret_cast<uintptr_t>(D) & ~Mask)); in getDeclGroup()
96 const DeclGroup &getDeclGroup() const { in getDeclGroup()
109 DeclGroup &G = getDeclGroup(); in end()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DDeclGroup.cpp21 DeclGroup* DeclGroup::Create(ASTContext &C, Decl **Decls, unsigned NumDecls) { in Create()
24 void *Mem = C.Allocate(Size, alignof(DeclGroup)); in Create()
25 new (Mem) DeclGroup(NumDecls, Decls); in Create()
26 return static_cast<DeclGroup*>(Mem); in Create()
29 DeclGroup::DeclGroup(unsigned numdecls, Decl** decls) : NumDecls(numdecls) { in DeclGroup() function in DeclGroup
/freebsd-12.1/lib/clang/libclang/
H A DMakefile66 SRCS_MIN+= AST/DeclGroup.cpp
/freebsd-12.1/contrib/llvm/tools/clang/lib/Serialization/
H A DASTReaderStmt.cpp355 S->setDeclGroup(DeclGroupRef(DeclGroup::Create(Record.getContext(), in VisitDeclStmt()