aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.h
diff options
context:
space:
mode:
authorNeil Booth <neil@daikokuya.demon.co.uk>2002-03-25 19:11:13 +0000
committerNeil Booth <neil@gcc.gnu.org>2002-03-25 19:11:13 +0000
commitc88770e9dfa1b4c4175e39a3a62264c8bcb0043b (patch)
tree3fdcb23609c1c0e4600afc58d41d0dd3ea750b9b /gcc/tree.h
parent2188d04d141f87189c987a31a62758f57cb64af8 (diff)
downloadgcc-c88770e9dfa1b4c4175e39a3a62264c8bcb0043b.zip
gcc-c88770e9dfa1b4c4175e39a3a62264c8bcb0043b.tar.gz
gcc-c88770e9dfa1b4c4175e39a3a62264c8bcb0043b.tar.bz2
c-decl.c (maybe_build_cleanup): Remove.
* c-decl.c (maybe_build_cleanup): Remove. * expr.c (expand_expr): Use langhook. * langhooks-def.h (lhd_return_null_tree, LANG_HOOKS_MAYBE_BUILD_CLEANUP): New. (LANGHOOKS_INITIALIZER): Update. * langhooks.c (lhd_return_null_tree): New. * langhooks.h (struct lang_hooks): New hook. * tree-inline.c (initialize_inlined_parameters): Use langhook. * tree.h (maybe_build_cleanup): Remove. ada: * misc.c (maybe_build_cleanup): Remove. cp: * cp-tree.h (cxx_maybe_build_cleanup): New. * decl.c (destroy_local_var, hack_incomplete_structures): Update. (maybe_build_cleanup): Rename cxx_maybe_build_cleanup. * tree.c (build_target_expr): Update. f: * com.c (maybe_build_cleanup): Remove. java: * decl.c (maybe_build_cleanup): Remove. From-SVN: r51324
Diffstat (limited to 'gcc/tree.h')
-rw-r--r--gcc/tree.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/gcc/tree.h b/gcc/tree.h
index 04e1276..3018f2a 100644
--- a/gcc/tree.h
+++ b/gcc/tree.h
@@ -2641,12 +2641,6 @@ extern tree unsigned_type PARAMS ((tree));
extern tree signed_type PARAMS ((tree));
-/* This function must be defined in the language-specific files.
- expand_expr calls it to build the cleanup-expression for a TARGET_EXPR.
- This is defined in a language-specific file. */
-
-extern tree maybe_build_cleanup PARAMS ((tree));
-
/* Given an expression EXP that may be a COMPONENT_REF or an ARRAY_REF,
look for nested component-refs or array-refs at constant positions
and find the ultimate containing object, which is returned. */