Open Bug 903843 (iwyu) Opened 7 years ago Updated 1 year ago

Use include-what-you-use (iwyu)

Categories

(Firefox Build System :: Source Code Analysis, enhancement, P3)

enhancement

Tracking

(Not tracked)

People

(Reporter: Ms2ger, Unassigned)

References

(Depends on 1 open bug, )

Details

Attachments

(1 file)

No description provided.
Alias: iwyu
Depends on: 903844
Attached file fix_includes.py
To set up iwyu, I found <http://code.google.com/p/include-what-you-use/wiki/InstructionsForUsers> clear enough. (I used "Building in-tree".)

I made a few changes to the fix_includes.py script; the result is attached.
Depends on: 910160
Depends on: 915466
Component: Tracking → General
QA Contact: chofmann
Component: General → Rewriting and Analysis
Would it be a good idea to get a tool like this integrated into our clang plugin to vocally complain when you include things you don't use? I'm worried that it won't work nicely with our unified builds.
Product: Core → Firefox Build System
Severity: normal → enhancement
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.