Searched refs:DeclGroup (Results 1 – 5 of 5) sorted by relevance
/external/clang/include/clang/AST/ |
D | DeclGroup.h | 25 class DeclGroup; variable 28 class DeclGroup final : private llvm::TrailingObjects<DeclGroup, Decl *> { 33 DeclGroup() : NumDecls(0) {} in DeclGroup() function 34 DeclGroup(unsigned numdecls, Decl** decls); 37 static DeclGroup *Create(ASTContext &C, Decl **Decls, unsigned NumDecls); 68 explicit DeclGroupRef(DeclGroup* dg) in DeclGroupRef() 76 return DeclGroupRef(DeclGroup::Create(C, Decls, NumDecls)); in Create() 94 DeclGroup &getDeclGroup() { in getDeclGroup() 96 return *((DeclGroup*)(reinterpret_cast<uintptr_t>(D) & ~Mask)); in getDeclGroup() 98 const DeclGroup &getDeclGroup() const { in getDeclGroup() [all …]
|
/external/clang/lib/AST/ |
D | DeclGroup.cpp | 20 DeclGroup* DeclGroup::Create(ASTContext &C, Decl **Decls, unsigned NumDecls) { in Create() 23 void* Mem = C.Allocate(Size, llvm::AlignOf<DeclGroup>::Alignment); 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
|
D | CMakeLists.txt | 24 DeclGroup.cpp
|
/external/clang/unittests/Tooling/ |
D | ToolingTest.cpp | 55 bool HandleTopLevelDecl(clang::DeclGroupRef DeclGroup) override { in HandleTopLevelDecl() argument
|
/external/clang/lib/Serialization/ |
D | ASTReaderStmt.cpp | 297 S->setDeclGroup(DeclGroupRef(DeclGroup::Create(Reader.getContext(), in VisitDeclStmt()
|