My Project
|
A variant type that holds a single argument for a diagnostic. More...
#include <Diagnostics.h>
Public Member Functions | |
void | print (raw_ostream &os) const |
Outputs this argument to a stream. More... | |
DiagnosticArgumentKind | getKind () const |
Returns the kind of this argument. More... | |
Attribute | getAsAttribute () const |
Returns this argument as an Attribute. More... | |
double | getAsDouble () const |
Returns this argument as a double. More... | |
int64_t | getAsInteger () const |
Returns this argument as a signed integer. More... | |
Operation & | getAsOperation () const |
Returns this argument as an operation. More... | |
StringRef | getAsString () const |
Returns this argument as a string. More... | |
Type | getAsType () const |
Returns this argument as a Type. More... | |
uint64_t | getAsUnsigned () const |
Returns this argument as an unsigned integer. More... | |
Friends | |
class | Diagnostic |
A variant type that holds a single argument for a diagnostic.
|
strong |
|
inline |
Returns this argument as a double.
|
inline |
Returns this argument as a signed integer.
|
inline |
Returns this argument as an operation.
|
inline |
Returns this argument as a string.
|
inline |
Returns this argument as an unsigned integer.
|
inline |
Returns the kind of this argument.
void DiagnosticArgument::print | ( | raw_ostream & | os | ) | const |
Outputs this argument to a stream.
|
friend |
double mlir::DiagnosticArgument::doubleVal |
intptr_t mlir::DiagnosticArgument::opaqueVal |
StringRef mlir::DiagnosticArgument::stringVal |