Re: Reporting unnecessary inclusion of header files.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 17 Jan 2024, 23:47 Rajeev Bansal via Gcc-help, <gcc-help@xxxxxxxxxxx>
wrote:

> Hi All,
>
>  I am looking for someone help on header file inclusion in C/CPP code. Can
> gcc help me to report the unnecessary inclusion of header files in my
> project? If not what are the other ways I can do it?
>

No, gcc can't help with this. But there's a clang-based tool for it:
https://include-what-you-use.org/



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux