mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-27 15:41:46 +00:00
Revert "Fix MLIR build failure: error: no member named 'getValue' in 'mlir::OptionalParseResult'"
This reverts commit d151aa4a0f
.
A bot is broken
This commit is contained in:
parent
d151aa4a0f
commit
ad83164e6d
@ -763,7 +763,7 @@ static const char *const dialectDynamicTypeParserDispatch = R"(
|
||||
{
|
||||
auto parseResult = parseOptionalDynamicType(mnemonic, parser, genType);
|
||||
if (parseResult.has_value()) {
|
||||
if (::mlir::succeeded(parseResult.value()))
|
||||
if (::mlir::succeeded(parseResult.getValue()))
|
||||
return genType;
|
||||
return ::mlir::Type();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user