MLIR
20.0.0git
|
A declaration for the visibility of subsequent declarations. More...
#include "mlir/TableGen/Class.h"
Public Member Functions | |
VisibilityDeclaration (Visibility visibility) | |
Create a declaration for the given visibility. More... | |
Visibility | getVisibility () const |
Get the visibility. More... | |
void | writeDeclTo (raw_indented_ostream &os) const override |
Write the visibility declaration. More... | |
Public Member Functions inherited from mlir::tblgen::ClassDeclarationBase< ClassDeclaration::VisibilityDeclaration > | |
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::VisibilityDeclaration > | |
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::VisibilityDeclaration > | |
static bool | classof (const ClassDeclaration *other) |
A declaration for the visibility of subsequent declarations.
|
inline |
|
inline |
|
overridevirtual |
Write the visibility declaration.
Implements mlir::tblgen::ClassDeclaration.