Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/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 …]
/freebsd/contrib/llvm-project/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
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Frontend/
H A DModelConsumer.cpp31 bool ModelConsumer::HandleTopLevelDecl(DeclGroupRef DeclGroup) { in HandleTopLevelDecl() argument
32 for (const Decl *D : DeclGroup) { in HandleTopLevelDecl()
/freebsd/lib/clang/libclang/
H A DMakefile78 SRCS_MIN+= AST/DeclGroup.cpp
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGDebugInfo.cpp4891 DeclGroupRef DeclGroup = DeclStmtPtr->getDeclGroup(); in EmitDeclare() local
4892 Decl *Decl = DeclGroup.getSingleDecl(); in EmitDeclare()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderStmt.cpp363 S->setDeclGroup(DeclGroupRef(DeclGroup::Create(Record.getContext(), in VisitDeclStmt()