Make IWYU changes to the accessibility module
Categories
(Core :: Disability Access APIs, enhancement, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox117 | --- | fixed |
People
(Reporter: nlapre, Assigned: nlapre)
References
(Blocks 1 open bug)
Details
Attachments
(7 files)
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review |
The Include What You Use tool is a useful way to check which includes are unnecessary. Removing them generally improves build times and reduces clutter. I think we should go through the module and remove unnecessary includes, at least the low-hanging fruit. It'll likely be a bit challenging to get IWYU set up in our build environment, but we should be able to hack something together for actionable advice.
Assignee | ||
Comment 1•1 year ago
|
||
This commit removes unnecessary include directives from cpp files in the
accessible/base directory. These suggestions came from the Include What You Use
tool.
Assignee | ||
Comment 2•1 year ago
|
||
This revision removes unnecessary include directives from cpp files in the
accessible/basetypes directory. These suggestions came from the Include What You
Use tool.
Depends on D182288
Assignee | ||
Comment 3•1 year ago
|
||
This revision removes unnecessary include directives from cpp files in the
accessible/generic directory. These suggestions came from the Include What You
Use tool.
Depends on D182397
Assignee | ||
Comment 4•1 year ago
|
||
This revision removes unnecessary include directives from cpp files in the
accessible/xpcom directory. These suggestions came from the Include What You
Use tool.
Depends on D182398
Assignee | ||
Comment 5•1 year ago
|
||
This revision removes unnecessary include directives from cpp files in the
accessible/aom directory. These suggestions came from the Include What You Use
tool.
Depends on D182399
Assignee | ||
Comment 6•1 year ago
|
||
This revision removes unnecssary include directives from cpp files in the
accessible/html directory. These suggestions came from the Include What You Use
tool.
Depends on D182400
Assignee | ||
Comment 7•1 year ago
|
||
This revision removes unnecessary include directives from cpp files in the
accessible/ipc directory. These suggestions came from the Include What You Use
tool.
Note that this is probably not everything here. It needs to be checked again
after rebasing on the latest unification changes.
Depends on D182401
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Assignee | ||
Comment 8•1 year ago
|
||
Adding some see-also bugs of interest
Comment 10•1 year ago
|
||
This is a good effort but we should be very careful with this not removing direct includes that consist definition used in the translation units. We should rely on other headers that includes the headers that have definitions for used things in the TU.
Comment 11•1 year ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/fd29498c8b43
https://hg.mozilla.org/mozilla-central/rev/74b0ddd87bf9
https://hg.mozilla.org/mozilla-central/rev/873ffb7ad802
https://hg.mozilla.org/mozilla-central/rev/60b2b5543d30
https://hg.mozilla.org/mozilla-central/rev/3e3d1d7be415
https://hg.mozilla.org/mozilla-central/rev/ff7bf50fe57b
https://hg.mozilla.org/mozilla-central/rev/7f0f8b547e2a
Description
•