Closed Bug 1654469 Opened 5 years ago Closed 5 years ago

Stop generating operator==/operator != for IPDL structs/unions by default

Categories

(Core :: IPC, task)

task

Tracking

()

RESOLVED FIXED
mozilla80
Tracking Status
firefox80 --- fixed

People

(Reporter: sg, Assigned: sg)

References

Details

Attachments

(2 files)

Most IPDL structs/unions do not actually require an operator==/!=. Generating them unnecessarily increases compile times, and may require the manual implementation of operator==/!= on dependent native types, which are never called. The option introduced by Bug 1654181 should be inverted, i.e. require adding a comparable keyword to opt-in to the generation rather than using uncomparable to opt out.

Existing IPDL files that do require being comparable must be adapted as part of this.

Pushed by sgiesecke@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/61ccfaba8d85 Stop generating operator==/operator != for IPDL structs/unions by default. r=nika
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla80
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: