|
My Project
|
#include <OpDefinition.h>


Public Member Functions | |
| ParseResult (LogicalResult result=success()) | |
| ParseResult (const InFlightDiagnostic &) | |
| ParseResult (const Diagnostic &) | |
| operator bool () const | |
| Failure is true in a boolean context. More... | |
Public Member Functions inherited from mlir::LogicalResult | |
| LogicalResult (ResultEnum v) | |
Additional Inherited Members | |
Public Types inherited from mlir::LogicalResult | |
| enum | ResultEnum { Success, Failure } |
Public Attributes inherited from mlir::LogicalResult | |
| enum mlir::LogicalResult::ResultEnum | value |
This class represents success/failure for operation parsing. It is essentially a simple wrapper class around LogicalResult that allows for explicit conversion to bool. This allows for the parser to chain together parse rules without the clutter of "failed/succeeded".
|
inline |
|
inline |
|
inline |
|
inlineexplicit |
Failure is true in a boolean context.
1.8.13