MLIR
20.0.0git
|
This class represents a single parameter to a builder method. More...
#include "mlir/TableGen/Builder.h"
Public Member Functions | |
StringRef | getCppType () const |
Return a string containing the C++ type of this parameter. More... | |
std::optional< StringRef > | getName () const |
Return an optional string containing the name of this parameter. More... | |
std::optional< StringRef > | getDefaultValue () const |
Return an optional string containing the default value to use for this parameter. More... | |
This class represents a single parameter to a builder method.
StringRef Builder::Parameter::getCppType | ( | ) | const |
Return a string containing the C++ type of this parameter.
Definition at line 26 of file Builder.cpp.
std::optional< StringRef > Builder::Parameter::getDefaultValue | ( | ) | const |
Return an optional string containing the default value to use for this parameter.
Definition at line 42 of file Builder.cpp.
References mlir::tblgen::Builder::def.
|
inline |