MLIR
20.0.0git
|
Parse an Optional attribute. More...
#include "mlir/IR/DialectImplementation.h"
Static Public Member Functions | |
static FailureOr< std::optional< AttributeT > > | parse (AsmParser &parser) |
Parse an Optional attribute.
Definition at line 129 of file DialectImplementation.h.
|
inlinestatic |
Definition at line 133 of file DialectImplementation.h.
References mlir::AsmParser::getContext(), mlir::MLIRContext::getOrLoadDialect(), mlir::OptionalParseResult::has_value(), and mlir::AsmParser::parseOptionalAttribute().