LILAC
Language to language Interop LAyer Compiler
|
Classes | |
class | ExportAttrInfo |
A plugin making clang accepts attributes from LILAC. More... | |
class | LilacAction |
A frontend action that creates lilac::cxx::LilacASTConsumer to traverse AST. More... | |
class | LilacASTConsumer |
An ASTConsumer that creates lilac::cxx::LilacASTVisitor to traverse AST. More... | |
class | LilacASTVisitor |
A recursive AST visitor that serializes C/C++ interface data into DOM object. More... | |
Functions | |
frxml::dom & | GetDOMRoot () |
bool | ShouldBeExported (clang::NamedDecl *decl) |
bool | GetTypeName (clang::Sema &sema, const clang::SourceLocation loc, const clang::Type *type, std::string &name) |
bool | RecordParameters (clang::Sema &sema, frxml::dom &dom, clang::FunctionDecl *fn) |
std::optional< frxml::dom > | RecordFunction (clang::Sema &sema, clang::FunctionDecl *fn) |
constexpr std::string | GetBuiltinTypeName (clang::BuiltinType::Kind kind) |
|
nodiscardconstexpr |
frxml::dom & lilac::cxx::GetDOMRoot | ( | ) |
Definition at line 27 of file pluginaction.cxx.
bool lilac::cxx::GetTypeName | ( | clang::Sema & | sema, |
const clang::SourceLocation | loc, | ||
const clang::Type * | type, | ||
std::string & | name ) |
Definition at line 228 of file pluginaction.cxx.
std::optional< frxml::dom > lilac::cxx::RecordFunction | ( | clang::Sema & | sema, |
clang::FunctionDecl * | fn ) |
Definition at line 325 of file pluginaction.cxx.
bool lilac::cxx::RecordParameters | ( | clang::Sema & | sema, |
frxml::dom & | dom, | ||
clang::FunctionDecl * | fn ) |
Definition at line 299 of file pluginaction.cxx.
bool lilac::cxx::ShouldBeExported | ( | clang::NamedDecl * | decl | ) |
Definition at line 115 of file pluginaction.cxx.