This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH, RFC] plugin to warn about surplus includes


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,


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]