[clang] [lld] [llvm] [mlir] [NFC][IWYU] Update Support library with IWYU. (PR #102707)

Daniil Fukalov via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 12 07:16:13 PDT 2024


dfukalov wrote:

> Can you provide more context on the motivation / what you're trying to achieve here?
The motivation is as usual IWYU and similar refactoring - to reduce build time and probablility of non-related source(s) recompile.
 
> Did you know that LLVM intentionally does not follow IWYU and favors forward declarations: https://llvm.org/docs/CodingStandards.html#include-as-little-as-possible
Yes, but I actually do not see what part of the mentioned standard' section conflicts with the change. Would you please suggest an example where we see a situation when applied IWYU approach can contradict with the part of Coding Standards?



https://github.com/llvm/llvm-project/pull/102707


More information about the cfe-commits mailing list