Closed Bug 1888569 Opened 11 months ago Closed 9 months ago

Clean up unused C++ headers

Categories

(Thunderbird :: General, task)

Tracking

(thunderbird_esr115 wontfix)

RESOLVED FIXED
128 Branch
Tracking Status
thunderbird_esr115 --- wontfix

People

(Reporter: leftmostcat, Assigned: leftmostcat)

References

Details

Attachments

(3 files, 1 obsolete file)

Our C++ code is chock-full of includes of headers which are either overly broad or entirely unused. This clutters up linting and can come back to bite us if a header—even one we're not using—is removed. These should be removed where possible and replaced with narrower imports where necessary.

Keywords: leave-open
Assignee: nobody → leftmostcat
Status: NEW → ASSIGNED
Pushed by sean@thunderbird.net: https://hg.mozilla.org/comm-central/rev/48823f8fa933 Clean up unused headers from IMAP. r=kaie
Keywords: leave-open
See Also: → 1900686
Attachment #9405749 - Attachment is obsolete: true

Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/e2aa6040155b
Only include headers as needed. r=darktrojan

Status: ASSIGNED → RESOLVED
Closed: 9 months ago
Resolution: --- → FIXED
Target Milestone: --- → 128 Branch

While removing include files from mimei.cpp, there were also helpful comments removed, which indicated an inheritance structure,
see https://hg.mozilla.org/comm-central/rev/e2aa6040155b#l254.1

I'd like to restore those comments.

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/84b0db260544
Add comments to restore MIME inheritance documentation. r=leftmostcat

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: