Closed Bug 1999664 Opened 2 months ago Closed 1 month ago

Remove unused STL header inclusion

Categories

(Core :: General, task)

task

Tracking

()

RESOLVED FIXED
148 Branch
Tracking Status
firefox148 --- fixed

People

(Reporter: sergesanspaille, Assigned: sergesanspaille)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

Some STL header are big. On my config,

$ echo '#include <algorithm>' | clang++ -xc++ - -E | wc -l
17361

This impacts compilation time, so it would be good to remoe unused inclusion of those ehaders and avoid regressing on it.

Depends on: 1999701
Depends on: 1999703
Depends on: 1999704
Depends on: 1999705
Depends on: 1999707
Depends on: 1999710
Depends on: 1999711
Depends on: 1999712
Depends on: 1999715
Depends on: 1999717
Depends on: 1999718
Depends on: 1999719
Depends on: 1999722
Depends on: 1999724
Depends on: 1999726
Depends on: 1999727
Depends on: 1999729
Depends on: 1999730
Depends on: 1999731
Depends on: 1999732
Depends on: 1999733
Depends on: 1999734
Depends on: 1999737
Depends on: 1999739
Attachment #9527662 - Attachment description: Bug 1999664 - Add C++ standard library includes linter r=ahal → Bug 1999664 - New Linter - ensure we don't include unnecessary C++ standard headers r=ahal!
Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 148 Branch
See Also: → 2007348
QA Whiteboard: [qa-triage-done-c149/b148]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: