MLIR
20.0.0git
|
Base class for class declarations. More...
#include "mlir/TableGen/Class.h"
Public Types | |
using | Base = ClassDeclarationBase< DeclKind > |
Public Types inherited from mlir::tblgen::ClassDeclaration | |
enum | Kind { Method , UsingDeclaration , VisibilityDeclaration , Field , ExtraClassDeclaration } |
Kinds for LLVM-style RTTI. More... | |
Public Member Functions | |
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 | writeDeclTo (raw_indented_ostream &os) const =0 |
Write the declaration. More... | |
virtual void | writeDefTo (raw_indented_ostream &os, StringRef namePrefix) const |
Write the definition, if any. More... | |
Static Public Member Functions | |
static bool | classof (const ClassDeclaration *other) |
Base class for class declarations.
using mlir::tblgen::ClassDeclarationBase< DeclKind >::Base = ClassDeclarationBase<DeclKind> |
|
inline |
|
inlinestatic |
Definition at line 300 of file Class.h.
References mlir::tblgen::ClassDeclaration::getKind().