[Mlir-commits] [mlir] [mlir] explicitly delete copy ctor for DialectRegistry and OperationState (PR #140963)
Will Froom
llvmlistbot at llvm.org
Thu May 29 01:46:01 PDT 2025
================
@@ -143,6 +143,8 @@ class DialectRegistry {
public:
explicit DialectRegistry();
+ DialectRegistry(const DialectRegistry &) = delete;
----------------
WillFroom wrote:
I think this unintentionally changes the behavior to not allowing moving of `DialectRegistry`, I'll create a patch to add the explicit move constructor
https://github.com/llvm/llvm-project/pull/140963
More information about the Mlir-commits
mailing list