This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, RFC] plugin to warn about surplus includes
- From: Steven Bosscher <stevenb dot gcc at gmail dot com>
- To: Bernhard Reutner-Fischer <rep dot dot dot nop at gmail dot com>
- Cc: gcc at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org, tromey at redhat dot com
- Date: Wed, 19 May 2010 00:53:00 +0200
- Subject: Re: [PATCH, RFC] plugin to warn about surplus includes
- References: <20100518210546.GY14941@mx.loc>
On 5/18/10, Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> wrote:
> Hi,
>
> A couple of days ago i was asking:
> does any frontend support some sort of noting that a user-header was
> included but no decl of it was ever referenced (i.e. superfluous
> #include) ?
>
> I could not find an appropriate tool to diagnose them, so i was thinking
> about a gcc plugin to do that.
*bows*
Such a plugin would be very welcome for me at least.
Ciao!
Steven