Open
Bug 1692008
Opened 5 years ago
Updated 4 years ago
Clean up signatures of IPC Recv methods receiving const references for primitive types instead of just getting the value
Categories
(Core :: IPC, task)
Core
IPC
Tracking
()
NEW
Tracking | Status | |
---|---|---|
firefox87 | --- | affected |
People
(Reporter: Gijs, Unassigned)
References
Details
See: https://phabricator.services.mozilla.com/D103967#inline-584985
https://searchfox.org/mozilla-central/search?q=const+bool%26&path=dom%2Fipc&case=false®exp=false
is a very rudimentary query to show there are quite a few of these for bool; there might be more for int*_t, uint*_t etc.
I don't know if we have an eslint-like tool to automatically refactor C++ like this, but if so this would be a good place to use it, as writing the patch manually would be tedious.
Updated•5 years ago
|
Depends on: ipc-devirt
You need to log in
before you can comment on or make changes to this bug.
Description
•