Plugins: unpleasant dump_active_plugins

Diego Novillo dnovillo@google.com
Thu Nov 19 16:45:00 GMT 2009


On Thu, Nov 12, 2009 at 06:24, Basile STARYNKEVITCH
<basile@starynkevitch.net> wrote:

> Index: gcc/plugin.c
> ===================================================================
> --- gcc/plugin.c	(revision 154119)
> +++ gcc/plugin.c	(working copy)
> @@ -63,6 +63,8 @@ const char *plugin_event_name[] =
>    "PLUGIN_PRAGMAS",
>    "PLUGIN_EVENT_LAST"
>  };
> +/* a printf format large enough for the largest event above */
> +#define FMT_FOR_PLUGIN_EVENT "%-26s"

Start comment with capitals.  End comment with '.  */' (two
spaces before closing comment).  Leave 1 blank line before
comment.

OK with those changes.


Diego.



More information about the Gcc-patches mailing list