Re:Include-what-you-use: Clang tool to analyze includes in C...
by jlebar on Saturday January 23, 2016 @12:59PM
(#10959221)
You can use the IWYU "export" pragma to inform IWYU that this is what you're doing. https://github.com/include-what-you-use/include-what-you-use...
[ Parent
| on HN ]
Re:Include-what-you-use: Clang tool to analyze includes in C...
by anarazel on Saturday January 23, 2016 @01:24PM
(#10959308)
Not a particularly good solution imo, because that means modifying random libraries I use. Besides adding verbiage.
I can see value in removing unneeded includes, and doing that supervised every once in a while. The way it wants to add includes? Not so much.