LILAC
Language to language Interop LAyer Compiler
|
A plugin making clang accepts attributes from LILAC. More...
#include <exportattr.h>
Public Member Functions | |
ExportAttrInfo () | |
bool | diagAppertainsToDecl (clang::Sema &sema, const clang::ParsedAttr &attr, const clang::Decl *decl) const override |
AttrHandling | handleDeclAttribute (clang::Sema &sema, clang::Decl *decl, const clang::ParsedAttr &attr) const override |
bool | acceptsLangOpts (const clang::LangOptions &LO) const override |
Static Public Attributes | |
static constexpr std::string | AttrMangling = "__lilac_export" |
A plugin making clang accepts attributes from LILAC.
A plugin making clang accepts attributes from LILAC such as [[lilac::export]]
or __attribute__((__lilac_export))
. Attributes from LILAC will be converted to [[clang::annotate("__lilac_export")]]
by this plugin.
Definition at line 34 of file exportattr.h.
lilac::cxx::ExportAttrInfo::ExportAttrInfo | ( | ) |
Definition at line 120 of file exportattr.cxx.
|
nodiscardoverride |
Definition at line 191 of file exportattr.cxx.
|
override |
Definition at line 136 of file exportattr.cxx.
|
override |
Definition at line 161 of file exportattr.cxx.
|
staticconstexpr |
Definition at line 37 of file exportattr.h.