diff options
author | Joseph Myers <joseph@codesourcery.com> | 2010-08-11 11:04:43 +0100 |
---|---|---|
committer | Joseph Myers <jsm28@gcc.gnu.org> | 2010-08-11 11:04:43 +0100 |
commit | 481e1176d7614dcd519e50c488a155312280913e (patch) | |
tree | 48318d1dff4b32ecb5516a974e71f0e815752ba3 /libiberty | |
parent | 3abeaf8f89f246f481c869a09d0715a2762bde28 (diff) | |
download | gcc-481e1176d7614dcd519e50c488a155312280913e.zip gcc-481e1176d7614dcd519e50c488a155312280913e.tar.gz gcc-481e1176d7614dcd519e50c488a155312280913e.tar.bz2 |
opts.h (struct cl_option_handler_func): Make handler take cl_decoded_option structure as parameter, not individual elements.
* opts.h (struct cl_option_handler_func): Make handler take
cl_decoded_option structure as parameter, not individual elements.
(struct cl_option_handlers): Make callbacks take cl_decoded_option
structure as parameter, not individual elements.
(handle_option): Take cl_decoded_option structure as parameter,
not individual elements.
(handle_generated_option): Declare.
* opts-common.c (handle_option): Take cl_decoded_option structure
as parameter, not individual elements. Update calls to callback
and handler functions.
(handle_generated_option): New.
(read_cmdline_option): Update calls to callback functions and
handle_option.
* opts.c (common_handle_option, complain_wrong_lang,
unknown_option_callback, post_handling_callback,
lang_handle_option, target_handle_option): Take cl_decoded_option
structure as parameter, not individual elements.
(lang_handle_option, target_handle_option, common_handle_option):
Assert option has at most one argument.
(enable_warning_as_error): Call handle_generated_option instead of
handle_option. Do not pass -Werror argument as argument of
generated option.
c-family:
* c-opts.c (c_common_handle_option): Call handle_generated_option
instead of handle_option.
From-SVN: r163095
Diffstat (limited to 'libiberty')
0 files changed, 0 insertions, 0 deletions