[flang] Add missing copy assignment operator (#139966)
On Clang 17 the implicit copy assignment operator was issuing a warning because of the user-declared copy constructor. Declare the copy assignment operator as default.
This commit is contained in:
parent
9658c55116
commit
ed572aaac8
@ -600,6 +600,7 @@ class TypeParamDetails {
|
||||
public:
|
||||
TypeParamDetails() = default;
|
||||
TypeParamDetails(const TypeParamDetails &) = default;
|
||||
TypeParamDetails &operator=(const TypeParamDetails &) = default;
|
||||
std::optional<common::TypeParamAttr> attr() const { return attr_; }
|
||||
TypeParamDetails &set_attr(common::TypeParamAttr);
|
||||
MaybeIntExpr &init() { return init_; }
|
||||
|
Loading…
x
Reference in New Issue
Block a user