MLIR
20.0.0git
|
This class describes a using-declaration for a class. More...
#include "mlir/TableGen/Class.h"
Public Member Functions | |
template<typename NameT , typename ValueT = std::string> | |
UsingDeclaration (NameT &&name, ValueT &&value="") | |
Create a using declaration that either aliases name to value or inherits the parent methods `name. More... | |
void | writeDeclTo (raw_indented_ostream &os) const override |
Write the using declaration. More... | |
template<typename ParamT > | |
void | addTemplateParam (ParamT param) |
Add a template parameter. More... | |
template<typename ContainerT > | |
void | addTemplateParams (ContainerT &&container) |
Add a list of template parameters. More... | |
Public Member Functions inherited from mlir::tblgen::ClassDeclarationBase< ClassDeclaration::UsingDeclaration > | |
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::UsingDeclaration > | |
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::UsingDeclaration > | |
static bool | classof (const ClassDeclaration *other) |
|
inline |
|
inline |
Add a template parameter.
Definition at line 553 of file Class.h.
References mlir::tblgen::stringify().
|
inline |
|
overridevirtual |
Write the using declaration.
Implements mlir::tblgen::ClassDeclaration.