summaryrefslogtreecommitdiff
path: root/gcc/plugin.h
diff options
context:
space:
mode:
authorespindola <espindola@138bc75d-0d04-0410-961f-82ee72b054a4>2009-04-16 14:31:45 +0000
committerespindola <espindola@138bc75d-0d04-0410-961f-82ee72b054a4>2009-04-16 14:31:45 +0000
commit2dfeb300f788760c436633d99e144ab97192d63c (patch)
treec6fbd7f9013fa3335143a10692c790200c87a198 /gcc/plugin.h
parent0b35ccd7157213cf19130941a2644ed76ab4304b (diff)
downloadgcc-2dfeb300f788760c436633d99e144ab97192d63c.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@146195 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/plugin.h')
-rw-r--r--gcc/plugin.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/plugin.h b/gcc/plugin.h
index d8cf6919a4a..c1f566ba80f 100644
--- a/gcc/plugin.h
+++ b/gcc/plugin.h
@@ -30,6 +30,7 @@ extern bool plugins_active_p (void);
extern void dump_active_plugins (FILE *);
extern void debug_active_plugins (void);
extern void print_plugins_versions (FILE *file, const char *indent);
+extern void print_plugins_help (FILE *file, const char *indent);
extern void finalize_plugins (void);
#endif /* PLUGIN_H */