This class contains a list of method parameters for constructor, class methods, and method signatures.
More...
#include "mlir/TableGen/Class.h"
This class contains a list of method parameters for constructor, class methods, and method signatures.
Definition at line 93 of file Class.h.
◆ MethodParameters() [1/2]
| mlir::tblgen::MethodParameters::MethodParameters |
( |
std::initializer_list< MethodParameter > | parameters | ) |
|
|
inline |
Create a list of method parameters.
Definition at line 96 of file Class.h.
Referenced by subsumes().
◆ MethodParameters() [2/2]
◆ getNumParameters()
| unsigned mlir::tblgen::MethodParameters::getNumParameters |
( |
| ) |
const |
|
inline |
Return the number of parameters.
Definition at line 112 of file Class.h.
◆ subsumes()
Determine whether this list of parameters "subsumes" another, which occurs when this parameter list is identical to the other and has zero or more additional default-valued parameters.
Definition at line 54 of file Class.cpp.
References lhs, MethodParameters(), and rhs.
◆ writeDeclTo()
Write the parameters as part of a method declaration.
Definition at line 45 of file Class.cpp.
◆ writeDefTo()
Write the parameters as part of a method definition.
Definition at line 49 of file Class.cpp.
The documentation for this class was generated from the following files: