[Mlir-commits] [mlir] [MLIR][Python] remove `liveOperations` (PR #155114)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Tue Aug 26 12:00:57 PDT 2025
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 HEAD~1 HEAD --extensions cpp,h -- mlir/include/mlir-c/IR.h mlir/lib/Bindings/Python/IRCore.cpp mlir/lib/Bindings/Python/IRModule.h mlir/lib/Bindings/Python/MainModule.cpp mlir/lib/Bindings/Python/Pass.cpp mlir/lib/Bindings/Python/TransformInterpreter.cpp mlir/lib/CAPI/IR/IR.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/mlir/lib/Bindings/Python/MainModule.cpp b/mlir/lib/Bindings/Python/MainModule.cpp
index d091d6a11..4c4001d8f 100644
--- a/mlir/lib/Bindings/Python/MainModule.cpp
+++ b/mlir/lib/Bindings/Python/MainModule.cpp
@@ -140,7 +140,5 @@ NB_MODULE(_mlir, m) {
m.def_submodule("passmanager", "MLIR Pass Management Bindings");
populatePassManagerSubmodule(passModule);
- m.def("test_raise_exception", []() {
- throw std::runtime_error("wtfbbq");
- });
+ m.def("test_raise_exception", []() { throw std::runtime_error("wtfbbq"); });
}
``````````
</details>
https://github.com/llvm/llvm-project/pull/155114
More information about the Mlir-commits
mailing list