Searched refs:DeclGroup (Results 1 - 4 of 4) sorted by relevance
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/ |
H A D | DeclGroup.cpp | 1 //===- DeclGroup.cpp - Classes for representing groups of Decls -----------===// 9 // This file defines the DeclGroup and DeclGroupRef classes. 13 #include "clang/AST/DeclGroup.h" 20 DeclGroup* DeclGroup::Create(ASTContext &C, Decl **Decls, unsigned NumDecls) { 21 assert(NumDecls > 1 && "Invalid DeclGroup"); 23 void *Mem = C.Allocate(Size, alignof(DeclGroup)); 24 new (Mem) DeclGroup(NumDecls, Decls); 25 return static_cast<DeclGroup*>(Mem); 28 DeclGroup function in class:DeclGroup [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/AST/ |
H A D | DeclGroup.h | 1 //===- DeclGroup.h - Classes for representing groups of Decls ---*- C++ -*-===// 9 // This file defines the DeclGroup, DeclGroupRef, and OwningDeclGroup classes. 25 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) 73 return DeclGroupRef(DeclGroup::Create(C, Decls, NumDecls)); 91 DeclGroup [all...] |
/freebsd-11-stable/lib/clang/libclang/ |
H A D | Makefile | 73 SRCS_MIN+= AST/DeclGroup.cpp
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/Serialization/ |
H A D | ASTReaderStmt.cpp | 21 #include "clang/AST/DeclGroup.h" 345 S->setDeclGroup(DeclGroupRef(DeclGroup::Create(Record.getContext(),
|
Completed in 74 milliseconds