Closed Bug 1900686 Opened 9 months ago Closed 1 month ago

Mark "re-exported" headers for clangd/IWYU

Categories

(Core :: XPCOM, task)

task

Tracking

()

RESOLVED WONTFIX

People

(Reporter: leftmostcat, Assigned: leftmostcat)

References

Details

Attachments

(1 obsolete file)

The default clangd configuration has the "include cleaner" feature (https://clangd.llvm.org/guides/include-cleaner) enabled. The include cleaner doesn't do a good job recognizing files which re-export other headers and expand on them with templates as needed includes. A few IWYU pragma comments make it possible to include, e.g., "nsString.h" without complaints that something more specific should be included.

See Also: → 1888569
Attachment #9405568 - Attachment is obsolete: true
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: