aboutsummaryrefslogtreecommitdiff
path: root/gcc/hooks.h
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2010-07-27 15:43:31 +0100
committerJoseph Myers <jsm28@gcc.gnu.org>2010-07-27 15:43:31 +0100
commit61ff2bdc6c2bc3f08a5e45aeb57e48ec21604e0a (patch)
tree8827f91fc9b3f24a4fdd5c851a07702213bfc0c3 /gcc/hooks.h
parent4e98bcaf2984720ac9be21d344e0240b3db6da07 (diff)
downloadgcc-61ff2bdc6c2bc3f08a5e45aeb57e48ec21604e0a.zip
gcc-61ff2bdc6c2bc3f08a5e45aeb57e48ec21604e0a.tar.gz
gcc-61ff2bdc6c2bc3f08a5e45aeb57e48ec21604e0a.tar.bz2
common.opt (o): Add MissingArgError.
* common.opt (o): Add MissingArgError. * doc/options.texi (MissingArgError): Document. * hooks.c (hook_bool_constcharptr_size_t_false): Remove. * hooks.h (hook_bool_constcharptr_size_t_false): Remove. * langhooks-def.h (LANG_HOOKS_MISSING_ARGUMENT): Remove. (LANG_HOOKS_INITIALIZER): Remove missing_argument hook initializer. * langhooks.h (struct lang_hooks): Remove missing_argument. * optc-gen.awk: Handle MissingArgError and output new structure field initializers. * opts.c (read_cmdline_option): Use missing_argument_error field instead of missing_argument langhook. * opts.h (struct cl_option): Add missing_argument_error field. * system.h (LANG_HOOKS_MISSING_ARGUMENT): Poison. c-family: * c-common.h (c_common_missing_argument): Remove. * c-opts.c (c_common_missing_argument): Remove. * c.opt (A, D, F, I, MD, MMD, MQ, MT, U, fconstant-string-class=, idirafter, imacros, include, isysroot, isystem, iquote): Add MissingArgError. * c-objc-common.h (LANG_HOOKS_MISSING_ARGUMENT): Remove. cp: * cp-objcp-common.h (LANG_HOOKS_MISSING_ARGUMENT): Remove. po: * exgettext: Also extract MissingArgError texts from .opt files. From-SVN: r162571
Diffstat (limited to 'gcc/hooks.h')
-rw-r--r--gcc/hooks.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/gcc/hooks.h b/gcc/hooks.h
index db1da30..52e4d84 100644
--- a/gcc/hooks.h
+++ b/gcc/hooks.h
@@ -48,7 +48,6 @@ extern bool hook_bool_const_tree_hwi_hwi_const_tree_true (const_tree,
extern bool hook_bool_rtx_false (rtx);
extern bool hook_bool_uintp_uintp_false (unsigned int *, unsigned int *);
extern bool hook_bool_rtx_int_int_intp_bool_false (rtx, int, int, int *, bool);
-extern bool hook_bool_constcharptr_size_t_false (const char *, size_t);
extern bool hook_bool_size_t_constcharptr_int_true (size_t, const char *, int);
extern bool hook_bool_tree_tree_false (tree, tree);
extern bool hook_bool_tree_tree_true (tree, tree);