Use clang-include-cleaner to prevent inclusion of unused mfbt headers
Categories
(Core :: MFBT, task)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox147 | --- | fixed |
People
(Reporter: sergesanspaille, Assigned: sergesanspaille)
References
(Blocks 1 open bug, Regressed 1 open bug)
Details
Attachments
(2 files)
clang-include-cleaner has several option that make it a good candidate for an incremental adoption of an automated include cleaner:
- one can limit the analysis to a few headers
- one can limit the analysis to include removal
I've been cleaning mfbt header inclusion recently, I think we're good to start small with that tool with a focus on "no unused mfbt header inclusion"
| Assignee | ||
Updated•6 months ago
|
Comment 1•6 months ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::MFBT' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
| Assignee | ||
Comment 2•6 months ago
|
||
Updated•6 months ago
|
Updated•6 months ago
|
| Assignee | ||
Comment 3•6 months ago
|
||
Those are the remaining parts required before we land the new mhbt
header inclusion linter
Updated•6 months ago
|
Updated•6 months ago
|
Updated•6 months ago
|
Backed out for causing linting failures @MemMapSnapshot.h.
| Assignee | ||
Updated•6 months ago
|
Comment 9•6 months ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/3ebfe1ca67d0
https://hg.mozilla.org/mozilla-central/rev/5755734bbadb
Comment 10•6 months ago
|
||
Comment 11•6 months ago
|
||
Comment 12•6 months ago
•
|
||
Backed out here https://hg.mozilla.org/integration/autoland/rev/5ed2a8d8d0c1872bc50d5323b87af317827dfbec and https://hg.mozilla.org/integration/autoland/rev/8f16036f9483a48357d16a63fdec8674a2520a9d for causing build bustages when https://bugzilla.mozilla.org/show_bug.cgi?id=1998267 was backed out.
The backout wasn't caused by any issue you introduced, but by a dependency problem, sorry about that.
Comment 13•6 months ago
|
||
| Assignee | ||
Updated•6 months ago
|
Comment 14•6 months ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/bf315e222e06
https://hg.mozilla.org/mozilla-central/rev/2a821d61fc12
Updated•5 months ago
|
Description
•