Closed
Bug 1654181
Opened 5 years ago
Closed 5 years ago
[ipdl] Make generation of operator==/!= optional for structs/unions
Categories
(Core :: IPC, task)
Core
IPC
Tracking
()
RESOLVED
FIXED
mozilla80
Tracking | Status | |
---|---|---|
firefox80 | --- | fixed |
People
(Reporter: sg, Assigned: sg)
References
Details
Attachments
(1 file)
Currently, the code generator generates operator==
/operator!=
for all IPDL-defined structs and unions, based on the operators of the field types, requiring all field types to provide such operators, even if they are never used. To remove the need to write such unnecessary code in user-defined types (and also to remove the need for the compiler to parse the unnecessary operators), it should be optional to generate these operators. For now, the default should stay to generate them, so that existing IPDL files do not need to be adapted.
Assignee | ||
Comment 1•5 years ago
|
||
Depends on D84131
Pushed by sgiesecke@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/5b83b6bf401f
Add uncomparable keyword for structs and unions. r=nika
Comment 3•5 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
status-firefox80:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla80
You need to log in
before you can comment on or make changes to this bug.
Description
•