Unverified Commit 273ceb13 authored by cor3ntin's avatar cor3ntin Committed by GitHub
Browse files

[Clang] Diagnose defaulted assignment operator with incompatible object parameter (#70176)

Per https://eel.is/c++draft/dcl.fct.def.default#2.2, the explicit object
parameter of a defaulted special member function must be of the same
type as the one of an equivalent implicitly defaulted function, ignoring
references.

Fixes #69233
parent 6a62707c
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment