diff options
author | Jakub Jelinek <jakub@redhat.com> | 2019-05-03 09:33:04 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2019-05-03 09:33:04 +0200 |
commit | f66409e0b15afc9575885e51485c4e4dac9c6f16 (patch) | |
tree | 07e6b03904c43c8a4893d8f7321dc78a6f01c34c /gcc/opts.h | |
parent | d1700aa1407c188165eb8e06f40bf059a9b81b16 (diff) | |
download | gcc-f66409e0b15afc9575885e51485c4e4dac9c6f16.zip gcc-f66409e0b15afc9575885e51485c4e4dac9c6f16.tar.gz gcc-f66409e0b15afc9575885e51485c4e4dac9c6f16.tar.bz2 |
opts.h (finish_options): Remove lang_mask argument.
* opts.h (finish_options): Remove lang_mask argument.
(print_help, help_option_argument): Declare.
* opts.c (print_help): Remove forward declaration, no longer static.
(finish_options): Remove lang_mask argument, don't call print_help
here.
* opts-global.c (decode_options): Adjust finish_option caller, call
print_help here.
From-SVN: r270836
Diffstat (limited to 'gcc/opts.h')
-rw-r--r-- | gcc/opts.h | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -418,8 +418,8 @@ extern bool target_handle_option (struct gcc_options *opts, void (*target_option_override_hook) (void)); extern void finish_options (struct gcc_options *opts, struct gcc_options *opts_set, - location_t loc, - unsigned int lang_mask); + location_t loc); +extern void print_help (struct gcc_options *opts, unsigned int lang_mask); extern void default_options_optimization (struct gcc_options *opts, struct gcc_options *opts_set, struct cl_decoded_option *decoded_options, @@ -443,6 +443,8 @@ extern const struct sanitizer_opts_s bool can_recover; } sanitizer_opts[]; +extern const char *help_option_argument; + extern void add_misspelling_candidates (auto_vec<char *> *candidates, const struct cl_option *option, const char *base_option); |