Bug 256434 - Use compiler-generated default operator== and operator<=> in some places where it's helpful
Summary: Use compiler-generated default operator== and operator<=> in some places wher...
Status: ASSIGNED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Darin Adler
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-05-07 15:48 PDT by Darin Adler
Modified: 2023-10-03 17:59 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Darin Adler 2023-05-07 15:48:45 PDT
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.
Comment 1 Radar WebKit Bug Importer 2023-05-07 15:49:24 PDT
<rdar://problem/109018053>
Comment 2 Darin Adler 2023-10-03 17:19:38 PDT
I’m guessing Chris did most of these already, but maybe there’s still something useful in this patch?
Comment 3 Darin Adler 2023-10-03 17:59:16 PDT
Hah, I said "this patch" but there is no patch here.