[Mlir-commits] [mlir] 0969d0d - Apply clang-tidy fixes for readability-identifier-naming in JitRunner.cpp (NFC)
Mehdi Amini
llvmlistbot at llvm.org
Mon Sep 12 03:47:16 PDT 2022
Author: Mehdi Amini
Date: 2022-09-12T10:46:01Z
New Revision: 0969d0de941e390899c23071e7a02bc6f7ff2b6a
URL: https://github.com/llvm/llvm-project/commit/0969d0de941e390899c23071e7a02bc6f7ff2b6a
DIFF: https://github.com/llvm/llvm-project/commit/0969d0de941e390899c23071e7a02bc6f7ff2b6a.diff
LOG: Apply clang-tidy fixes for readability-identifier-naming in JitRunner.cpp (NFC)
Added:
Modified:
mlir/lib/ExecutionEngine/JitRunner.cpp
Removed:
################################################################################
diff --git a/mlir/lib/ExecutionEngine/JitRunner.cpp b/mlir/lib/ExecutionEngine/JitRunner.cpp
index 362e60aafe4d0..6005c9b8b1b8a 100644
--- a/mlir/lib/ExecutionEngine/JitRunner.cpp
+++ b/mlir/lib/ExecutionEngine/JitRunner.cpp
@@ -323,11 +323,11 @@ int mlir::JitRunnerMain(int argc, char **argv, const DialectRegistry ®istry,
llvm::cl::ParseCommandLineOptions(argc, argv, "MLIR CPU execution driver\n");
if (options.hostSupportsJit) {
- auto J = llvm::orc::LLJITBuilder().create();
- if (J)
+ auto j = llvm::orc::LLJITBuilder().create();
+ if (j)
llvm::outs() << "true\n";
else {
- llvm::consumeError(J.takeError());
+ llvm::consumeError(j.takeError());
llvm::outs() << "false\n";
}
return 0;
More information about the Mlir-commits
mailing list