We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b490f1 commit 0a6b414Copy full SHA for 0a6b414
mlir/lib/TableGen/Pattern.cpp
@@ -305,7 +305,7 @@ std::string SymbolInfoMap::SymbolInfo::getValueAndRangeUse(
305
auto *operand = cast<NamedTypeConstraint *>(op->getArg(getArgIndex()));
306
if (operand->isOptional()) {
307
auto repl =
308
- formatv(fmt, formatv("({0}.empty() ? Value() : *{0}.begin())", name));
+ formatv(fmt, formatv("({0}.empty() ? ::mlir::Value() : *{0}.begin())", name));
309
LLVM_DEBUG(dbgs() << repl << " (OptionalOperand)\n");
310
return std::string(repl);
311
}
0 commit comments