MLIR  18.0.0git
Public Member Functions | List of all members
mlir::tblgen::VisibilityDeclaration Class Reference

A declaration for the visibility of subsequent declarations. More...

#include "mlir/TableGen/Class.h"

+ Inheritance diagram for mlir::tblgen::VisibilityDeclaration:

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)
 

Detailed Description

A declaration for the visibility of subsequent declarations.

Definition at line 593 of file Class.h.

Constructor & Destructor Documentation

◆ VisibilityDeclaration()

mlir::tblgen::VisibilityDeclaration::VisibilityDeclaration ( Visibility  visibility)
inline

Create a declaration for the given visibility.

Definition at line 597 of file Class.h.

Member Function Documentation

◆ getVisibility()

Visibility mlir::tblgen::VisibilityDeclaration::getVisibility ( ) const
inline

Get the visibility.

Definition at line 600 of file Class.h.

◆ writeDeclTo()

void mlir::tblgen::VisibilityDeclaration::writeDeclTo ( raw_indented_ostream os) const
overridevirtual

Write the visibility declaration.

Implements mlir::tblgen::ClassDeclaration.


The documentation for this class was generated from the following file: