Home
last modified time | relevance | path

Searched refs:DeclGroup (Results 1 – 7 of 7) 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);
61 explicit DeclGroupRef(DeclGroup* dg) in DeclGroupRef()
69 return DeclGroupRef(DeclGroup::Create(C, Decls, NumDecls)); in Create()
87 DeclGroup &getDeclGroup() { in getDeclGroup()
89 return *((DeclGroup*)(reinterpret_cast<uintptr_t>(D) & ~Mask)); in getDeclGroup()
91 const DeclGroup &getDeclGroup() const { in getDeclGroup()
104 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 DMakefile103 SRCS_MIN+= AST/DeclGroup.cpp
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGDebugInfo.cpp5154 DeclGroupRef DeclGroup = DeclStmtPtr->getDeclGroup(); in EmitDeclare() local
5155 Decl *Decl = DeclGroup.getSingleDecl(); in EmitDeclare()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderStmt.cpp359 S->setDeclGroup(DeclGroupRef(DeclGroup::Create(Record.getContext(), in VisitDeclStmt()
/freebsd/contrib/llvm-project/llvm/include/llvm/Testing/Demangle/
H A DDemangleTestCases.inc9954 {"_ZN5clang9DeclGroup6CreateERNS_10ASTContextEPPNS_4DeclEj", "clang::DeclGroup::Create(clang::ASTCo…
9955 {"_ZN5clang9DeclGroupC1EjPPNS_4DeclE", "clang::DeclGroup::DeclGroup(unsigned int, clang::Decl**)"},
9956 {"_ZN5clang9DeclGroupC2EjPPNS_4DeclE", "clang::DeclGroup::DeclGroup(unsigned int, clang::Decl**)"},