Open
Bug 903843
(iwyu)
Opened 11 years ago
Updated 1 year ago
Use include-what-you-use (iwyu)
Categories
(Developer Infrastructure :: Source Code Analysis, enhancement, P3)
Developer Infrastructure
Source Code Analysis
Tracking
(Not tracked)
NEW
People
(Reporter: Ms2ger, Unassigned)
References
(Depends on 2 open bugs, )
Details
Attachments
(1 file)
(deleted),
text/plain
|
Details |
No description provided.
Reporter | ||
Updated•11 years ago
|
Alias: iwyu
Reporter | ||
Comment 1•11 years ago
|
||
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.
Updated•11 years ago
|
Updated•8 years ago
|
Component: Tracking → General
QA Contact: chofmann
Updated•8 years ago
|
Component: General → Rewriting and Analysis
Comment 2•8 years ago
|
||
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.
Updated•7 years ago
|
Product: Core → Firefox Build System
Updated•6 years ago
|
Severity: normal → enhancement
Priority: -- → P3
Comment 4•3 years ago
|
||
Periodically, individuals run IWYU against the tree. For example, I see that :botond did this in tickets like https://bugzilla.mozilla.org/show_bug.cgi?id=1605466 and :sg did a large pass recently in tickets rooted at https://bugzilla.mozilla.org/show_bug.cgi?id=1676346.
In the years since this ticket was filed, it's become much easier to write and run custom linters and we've invested heavily into clang-based tooling. Perhaps the time is now for running IWYU in automation...
My specific use case is that I'd like to be able to visualize what includes a certain file (in my case, xptdata.h
) without configuring IWYU myself.
Comment 5•3 years ago
|
||
:nalexander, there is bug 1682477 about integrating IWYU in the review bot.
Updated•2 years ago
|
Updated•2 years ago
|
Product: Firefox Build System → Developer Infrastructure
Updated•2 years ago
|
Severity: normal → S3
Updated•1 year ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•