[Mlir-commits] [mlir] [mlir] fix copying DialectRegistry and OperationState (PR #140963)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Wed May 21 14:45:28 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 h -- mlir/include/mlir/IR/DialectRegistry.h mlir/include/mlir/IR/OperationSupport.h
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/mlir/include/mlir/IR/DialectRegistry.h b/mlir/include/mlir/IR/DialectRegistry.h
index 0d2941ee1..49036f0a6 100644
--- a/mlir/include/mlir/IR/DialectRegistry.h
+++ b/mlir/include/mlir/IR/DialectRegistry.h
@@ -143,7 +143,7 @@ class DialectRegistry {
 
 public:
   explicit DialectRegistry();
-  DialectRegistry(const DialectRegistry&) = delete;
+  DialectRegistry(const DialectRegistry &) = delete;
 
   template <typename ConcreteDialect>
   void insert() {

``````````

</details>


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


More information about the Mlir-commits mailing list