[Mlir-commits] [mlir] d151aa4 - Fix MLIR build failure: error: no member named 'getValue' in 'mlir::OptionalParseResult'
Mehdi Amini
llvmlistbot at llvm.org
Sun Aug 20 13:19:17 PDT 2023
Author: Mehdi Amini
Date: 2023-08-20T13:18:49-07:00
New Revision: d151aa4a0fa26a795466f2171ef9aa29a4e9f131
URL: https://github.com/llvm/llvm-project/commit/d151aa4a0fa26a795466f2171ef9aa29a4e9f131
DIFF: https://github.com/llvm/llvm-project/commit/d151aa4a0fa26a795466f2171ef9aa29a4e9f131.diff
LOG: Fix MLIR build failure: error: no member named 'getValue' in 'mlir::OptionalParseResult'
Fix #63072
Added:
Modified:
mlir/tools/mlir-tblgen/AttrOrTypeDefGen.cpp
Removed:
################################################################################
diff --git a/mlir/tools/mlir-tblgen/AttrOrTypeDefGen.cpp b/mlir/tools/mlir-tblgen/AttrOrTypeDefGen.cpp
index 943e323c6af405..f6e43d42d29f06 100644
--- a/mlir/tools/mlir-tblgen/AttrOrTypeDefGen.cpp
+++ b/mlir/tools/mlir-tblgen/AttrOrTypeDefGen.cpp
@@ -763,7 +763,7 @@ static const char *const dialectDynamicTypeParserDispatch = R"(
{
auto parseResult = parseOptionalDynamicType(mnemonic, parser, genType);
if (parseResult.has_value()) {
- if (::mlir::succeeded(parseResult.getValue()))
+ if (::mlir::succeeded(parseResult.value()))
return genType;
return ::mlir::Type();
}
More information about the Mlir-commits
mailing list