Bug 256434
Summary: | Use compiler-generated default operator== and operator<=> in some places where it's helpful | ||
---|---|---|---|
Product: | WebKit | Reporter: | Darin Adler <darin> |
Component: | WebKit Misc. | Assignee: | Darin Adler <darin> |
Status: | RESOLVED DUPLICATE | ||
Severity: | Normal | CC: | cdumez, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Darin Adler
The compiler-generated default operator== and operator<=> functions remove the need to list all data members, and remove code. I also found that using them helped surface some mistakes in our code.
This patch attempts to use them where it's easy. Any cases that turn out to be thorny we will omit from this patch.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/109018053>
Darin Adler
I’m guessing Chris did most of these already, but maybe there’s still something useful in this patch?
Darin Adler
Hah, I said "this patch" but there is no patch here.
Darin Adler
*** This bug has been marked as a duplicate of bug 235018 ***