[Mlir-commits] [mlir] 296e03f - [mlir][NFC] Fully qualify call to `mlir::success` in auto generated C++
Markus Böck
llvmlistbot at llvm.org
Fri Feb 4 15:40:20 PST 2022
Author: Markus Böck
Date: 2022-02-05T00:40:04+01:00
New Revision: 296e03fc641870c334123e48f7050e54e4eadde9
URL: https://github.com/llvm/llvm-project/commit/296e03fc641870c334123e48f7050e54e4eadde9
DIFF: https://github.com/llvm/llvm-project/commit/296e03fc641870c334123e48f7050e54e4eadde9.diff
LOG: [mlir][NFC] Fully qualify call to `mlir::success` in auto generated C++
Added:
Modified:
mlir/tools/mlir-tblgen/RewriterGen.cpp
Removed:
################################################################################
diff --git a/mlir/tools/mlir-tblgen/RewriterGen.cpp b/mlir/tools/mlir-tblgen/RewriterGen.cpp
index 7c18b5ef4969e..b8d875f2bfc48 100644
--- a/mlir/tools/mlir-tblgen/RewriterGen.cpp
+++ b/mlir/tools/mlir-tblgen/RewriterGen.cpp
@@ -735,7 +735,7 @@ void PatternEmitter::emitEitherOperandMatch(DagNode tree, DagNode eitherArgTree,
}
os << tblgenOps.str();
- os << "return success();\n";
+ os << "return ::mlir::success();\n";
os.unindent() << "};\n";
os << "{\n";
More information about the Mlir-commits
mailing list