by ra1231963 · 3y ago · 0 comments
Looks like https://include-what-you-use.org/ might do that.
One major deficiency in IWYU that we will have to solve is that IWYU only understands post-preprocessed sources.
If you have preprocessor guards for some code (as is done extensively in the Linux kernel) IWYU can recommend changes that break the build for other configurations than the one used when running IWYU.