Generator for common C header file elements.
More...
#include <CommonCAPIGen.h>
|
| virtual | ~HeaderGenerator ()=default |
| virtual void | genPrologue () const |
| virtual void | genEpilogue () const |
| virtual void | genIsADecl () const |
| virtual void | genExtraMethod (const ExtraMethod &method) const override |
| | Generate declaration for an extra method from an extraClassDeclaration
|
| | Generator (std::string_view recordKind, llvm::raw_ostream &outputStream) |
| | Generator (std::string_view recordKind, llvm::raw_ostream &outputStream) |
| virtual | ~Generator ()=default |
| virtual void | setDialectAndClassName (const mlir::tblgen::Dialect *d, mlir::StringRef cppClassName) |
| | Set the dialect and class name for code generation.
|
| virtual void | genExtraMethods (mlir::StringRef extraDecl) const |
| | Generate code for extra methods from an extraClassDeclaration
|
Generator for common C header file elements.
Definition at line 361 of file CommonCAPIGen.h.
◆ ~HeaderGenerator()
| virtual HeaderGenerator::~HeaderGenerator |
( |
| ) |
|
|
virtualdefault |
◆ genEpilogue()
| virtual void HeaderGenerator::genEpilogue |
( |
| ) |
const |
|
inlinevirtual |
◆ Generator()
| Generator::Generator |
( |
std::string_view | recordKind, |
|
|
llvm::raw_ostream & | outputStream ) |
|
inline |
◆ genExtraMethod()
| virtual void HeaderGenerator::genExtraMethod |
( |
const ExtraMethod & | method | ) |
const |
|
inlineoverridevirtual |
Generate declaration for an extra method from an extraClassDeclaration
Implements Generator.
Definition at line 387 of file CommonCAPIGen.h.
◆ genIsADecl()
| virtual void HeaderGenerator::genIsADecl |
( |
| ) |
const |
|
inlinevirtual |
◆ genPrologue()
| virtual void HeaderGenerator::genPrologue |
( |
| ) |
const |
|
inlinevirtual |
The documentation for this struct was generated from the following file: