[Mlir-commits] [mlir] [mlir] Retain original identifier names for debugging v3 (PR #119996)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Sat Dec 14 20:27:09 PST 2024
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {clang-format}-->
:warning: C/C++ code formatter, clang-format found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
git-clang-format --diff 60325abeb3226b17c28429dfa6e175f25c171ec0 e9fd4aa7d8345756f9525bea0a7e46ba8c655ddb --extensions h,cpp -- mlir/include/mlir/IR/OperationSupport.h mlir/lib/IR/AsmPrinter.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/mlir/lib/IR/AsmPrinter.cpp b/mlir/lib/IR/AsmPrinter.cpp
index f3aaafcd30..2bab5afc27 100644
--- a/mlir/lib/IR/AsmPrinter.cpp
+++ b/mlir/lib/IR/AsmPrinter.cpp
@@ -196,9 +196,9 @@ struct AsmPrinterOptions {
llvm::cl::desc("Print unique SSA ID numbers for values, block arguments "
"and naming conflicts across all regions")};
- llvm::cl::opt<bool> useNameLocAsPrefix{
- "mlir-use-nameloc-as-prefix", llvm::cl::init(true),
- llvm::cl::desc("TODO")};
+ llvm::cl::opt<bool> useNameLocAsPrefix{"mlir-use-nameloc-as-prefix",
+ llvm::cl::init(true),
+ llvm::cl::desc("TODO")};
};
} // namespace
``````````
</details>
https://github.com/llvm/llvm-project/pull/119996
More information about the Mlir-commits
mailing list