File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -143,6 +143,8 @@ class DialectRegistry {
143143
144144public:
145145 explicit DialectRegistry ();
146+ DialectRegistry (const DialectRegistry &) = delete ;
147+ DialectRegistry &operator =(const DialectRegistry &other) = delete ;
146148
147149 template <typename ConcreteDialect>
148150 void insert () {
Original file line number Diff line number Diff line change @@ -985,9 +985,9 @@ struct OperationState {
985985 BlockRange successors = {},
986986 MutableArrayRef<std::unique_ptr<Region>> regions = {});
987987 OperationState (OperationState &&other) = default ;
988- OperationState (const OperationState &other) = default ;
989988 OperationState &operator =(OperationState &&other) = default ;
990- OperationState &operator =(const OperationState &other) = default ;
989+ OperationState (const OperationState &other) = delete ;
990+ OperationState &operator =(const OperationState &other) = delete ;
991991 ~OperationState ();
992992
993993 // / Get (or create) a properties of the provided type to be set on the
You can’t perform that action at this time.
0 commit comments