[Mlir-commits] [mlir] [mlir][python] remove various caching mechanisms (PR #70831)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Thu Nov 2 08:39:53 PDT 2023


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 23ad865e1090bf5895ad60cc7ed785fff31e7ec0 03ec1ca593ffb7e5c7ab7cc433271bbea9c311d2 -- mlir/lib/Bindings/Python/Globals.h mlir/lib/Bindings/Python/IRModule.cpp mlir/lib/Bindings/Python/MainModule.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 e7cd85ad6248..2ba3a3677198 100644
--- a/mlir/lib/Bindings/Python/MainModule.cpp
+++ b/mlir/lib/Bindings/Python/MainModule.cpp
@@ -38,7 +38,7 @@ PYBIND11_MODULE(_mlir, m) {
           "module_name"_a)
       .def(
           "_check_dialect_module_loaded",
-          [](PyGlobals &self, const std::string& dialectNamespace) {
+          [](PyGlobals &self, const std::string &dialectNamespace) {
             return self.loadDialectModule(dialectNamespace);
           },
           "dialect_namespace"_a)

``````````

</details>


https://github.com/llvm/llvm-project/pull/70831


More information about the Mlir-commits mailing list