This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, RFC] plugin to warn about surplus includes
- From: Bernhard Reutner-Fischer <rep dot dot dot nop at gmail dot com>
- To: Joel Sherrill <joel dot sherrill at oarcorp dot com>
- Cc: Steven Bosscher <stevenb dot gcc at gmail dot com>, "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>, "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>, "tromey at redhat dot com" <tromey at redhat dot com>
- Date: Fri, 21 May 2010 11:33:03 +0200
- Subject: Re: [PATCH, RFC] plugin to warn about surplus includes
- References: <20100518210546.GY14941@mx.loc> <AANLkTimPXGDCfuuZw2SVWDmLiD4eCGMNOYTOBZeU1qHf@mail.gmail.com> <4BF3286E.2050604@oarcorp.com>
On Tue, May 18, 2010 at 06:53:18PM -0500, Joel Sherrill wrote:
>Would there be a way to exclude specific files? Say something like
>config.h that by convention you might want every file to include?
Adding a
-fplugin-arg-warn_include-exclude-from=<newline separated filenames>
should be doable, sure.
cheers,