[PATCH, RFC] plugin to warn about surplus includes

Bernhard Reutner-Fischer rep.dot.nop@gmail.com
Fri May 21 09:25:00 GMT 2010


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,



More information about the Gcc mailing list