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: ASSIGNED ---    
Severity: Normal CC: cdumez, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

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.