diff options
author | Rafael Avila de Espindola <espindola@google.com> | 2009-04-16 14:31:45 +0000 |
---|---|---|
committer | Rafael Espindola <espindola@gcc.gnu.org> | 2009-04-16 14:31:45 +0000 |
commit | 02e819ffd481be3a48701f535e7daad5ddaaae6a (patch) | |
tree | c6fbd7f9013fa3335143a10692c790200c87a198 /gcc/gcc-plugin.h | |
parent | 0455c7f47e493504b31d90195271a52d74099fbe (diff) | |
download | gcc-02e819ffd481be3a48701f535e7daad5ddaaae6a.zip gcc-02e819ffd481be3a48701f535e7daad5ddaaae6a.tar.gz gcc-02e819ffd481be3a48701f535e7daad5ddaaae6a.tar.bz2 |
common.opt (fhelp): Add Var(help_flag).
2009-04-16 Rafael Avila de Espindola <espindola@google.com>
* common.opt (fhelp): Add Var(help_flag).
* gcc-plugin.h (plugin_info): Add help.
* plugin.c (plugin_name_args): Add help.
(register_plugin_info): Set plugin->help.
(print_help_one_plugin): New.
(print_plugins_help): New.
* plugin.h (print_plugins_help): New.
* toplev.c (toplev_main): Call print_plugins_help if needed.
From-SVN: r146195
Diffstat (limited to 'gcc/gcc-plugin.h')
-rw-r--r-- | gcc/gcc-plugin.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/gcc-plugin.h b/gcc/gcc-plugin.h index 8627720..6865566 100644 --- a/gcc/gcc-plugin.h +++ b/gcc/gcc-plugin.h @@ -64,6 +64,7 @@ struct plugin_pass struct plugin_info { const char *version; + const char *help; }; /* Function type for the plugin initialization routine. Each plugin module |