================
@@ -20,6 +20,20 @@ class SpaceShipDefaultCompare {
int operator<=>(const SpaceShipDefaultCompare &) const = default;
};
+class EqDefaultCompareOutOfClass {
+ int used; // no warning
----------------
Maetveis wrote:
Okay, sorry I wasn't sure what you were referring to, but I get know that from
the change-set it is not obvious how / why the issue in #116961 is fixed by
this change and why it is a special case not covered by the current testing. I
expanded quite a bit on the comment, hopefully it did not become too verbose
now.
https://github.com/llvm/llvm-project/pull/116965
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits