]> gcc.gnu.org Git - gcc.git/commit
c-common.c (truthvalue_conversion): Rename, update.
authorNeil Booth <neil@daikokuya.demon.co.uk>
Thu, 4 Apr 2002 22:19:58 +0000 (22:19 +0000)
committerNeil Booth <neil@gcc.gnu.org>
Thu, 4 Apr 2002 22:19:58 +0000 (22:19 +0000)
commit78ef5b895f933cc8a82486aec27d6e7ac7a5acae
tree50dc6fe5e989dd9c497bfef9c4a8a5e5f0a8ba33
parent3900216066f8f2b9a8362daf4da8b225018e69d7
c-common.c (truthvalue_conversion): Rename, update.

* c-common.c (truthvalue_conversion): Rename, update.
* c-common.h (c_common_truthvalue_conversion): New.
* c-convert.c (convert): Update.
* c-lang.c (LANG_HOOKS_TRUTHVALUE_CONVERSION): Redefine.
* c-parse.in (expr_no_commas, if_prefix, select_or_iter_stmt): Update.
* c-typeck.c (build_binary_op, build_unary_op,
build_conditional_expr): Update.
* fold-const.c (constant_boolean_node, fold): Use langhook.
* langhooks-def.h (LANGHOOK_INITIALIZER): Update.
* langhooks.h (struct lang_hooks): New hook.
* stmt.c (expand_decl_cleanup): Use langhook.
* tree.h (truthvalue_conversion): Remove.
ada:
* gigi.h (truthvalue_conversion): Rename.
* misc.c (LANG_HOOKS_TRUTHVALUE_CONVERSION): Redefine.
* trans.c (tree_transform): Update.
* utils2.c (truthvalue_conversion): Rename, update.
(build_binary_op, build_unary_op): Update.
cp:
* cp-lang.c (LANG_HOOKS_TRUTHVALUE_CONVERSION): Redefine.
* cvt.c: Update comment.
* init.c (expand_cleanup_for_base): Update.
* semantics.c (finish_parenthesized_expr): Update.
* typeck.c (cp_truthvalue_conversion): Update.
f:
* com.c (LANG_HOOKS_TRUTHVALUE_CONVERSION): Redefine.
(truthvalue_conversion): Rename.  Update.  Make static.
(ffecom_truth_value): Update.
java:
* expr.c (truthvalue_conversion): Rename.  Update.
(expand_compare): Update.
* java-tree.h (java_truthvalue_conversion): New.
* lang.c (LANG_HOOKS_TRUTHVALUE_CONVERSION): Redefine.
objc:
* objc-lang.c (LANG_HOOKS_TRUTHVALUE_CONVERSION): Redefine.

From-SVN: r51880
29 files changed:
gcc/ada/ChangeLog
gcc/ada/gigi.h
gcc/ada/misc.c
gcc/ada/trans.c
gcc/ada/utils2.c
gcc/c-common.c
gcc/c-common.h
gcc/c-convert.c
gcc/c-lang.c
gcc/c-parse.in
gcc/c-typeck.c
gcc/cp/ChangeLog
gcc/cp/cp-lang.c
gcc/cp/cvt.c
gcc/cp/init.c
gcc/cp/semantics.c
gcc/cp/typeck.c
gcc/f/ChangeLog
gcc/f/com.c
gcc/fold-const.c
gcc/java/ChangeLog
gcc/java/expr.c
gcc/java/java-tree.h
gcc/java/lang.c
gcc/langhooks-def.h
gcc/langhooks.h
gcc/objc/objc-lang.c
gcc/stmt.c
gcc/tree.h
This page took 0.067273 seconds and 5 git commands to generate.