forked from OSchip/llvm-project
[flang] Delete the default copy constructor for Scope.
Original-commit: flang-compiler/f18@e8e3e5fd46 Reviewed-on: https://github.com/flang-compiler/f18/pull/413
This commit is contained in:
parent
9a9c2dfa21
commit
73bcc7a7cd
|
@ -46,6 +46,7 @@ public:
|
||||||
symbol->set_scope(this);
|
symbol->set_scope(this);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Scope(const Scope &) = delete;
|
||||||
|
|
||||||
bool operator==(const Scope &that) const { return this == &that; }
|
bool operator==(const Scope &that) const { return this == &that; }
|
||||||
bool operator!=(const Scope &that) const { return this != &that; }
|
bool operator!=(const Scope &that) const { return this != &that; }
|
||||||
|
|
Loading…
Reference in New Issue