MLIR
20.0.0git
|
This class describes a class field. More...
#include "mlir/TableGen/Class.h"
Public Member Functions | |
template<typename TypeT , typename NameT > | |
Field (TypeT &&type, NameT &&name) | |
Create a class field with a type and variable name. More... | |
void | writeDeclTo (raw_indented_ostream &os) const override |
Write the declaration of the field. More... | |
Public Member Functions inherited from mlir::tblgen::ClassDeclarationBase< ClassDeclaration::Field > | |
ClassDeclarationBase () | |
Public Member Functions inherited from mlir::tblgen::ClassDeclaration | |
virtual | ~ClassDeclaration ()=default |
ClassDeclaration (Kind kind) | |
Create a class declaration with a given kind. More... | |
Kind | getKind () const |
Get the class declaration kind. More... | |
virtual void | writeDefTo (raw_indented_ostream &os, StringRef namePrefix) const |
Write the definition, if any. More... | |
Additional Inherited Members | |
Public Types inherited from mlir::tblgen::ClassDeclarationBase< ClassDeclaration::Field > | |
using | Base = ClassDeclarationBase< DeclKind > |
Public Types inherited from mlir::tblgen::ClassDeclaration | |
enum | Kind { Method , UsingDeclaration , VisibilityDeclaration , Field , ExtraClassDeclaration } |
Kinds for LLVM-style RTTI. More... | |
Static Public Member Functions inherited from mlir::tblgen::ClassDeclarationBase< ClassDeclaration::Field > | |
static bool | classof (const ClassDeclaration *other) |
|
inline |
|
overridevirtual |
Write the declaration of the field.
Implements mlir::tblgen::ClassDeclaration.