aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/cp-objcp-common.h
diff options
context:
space:
mode:
authorGeoffrey Keating <geoffk@gcc.gnu.org>2006-11-01 05:16:14 +0000
committerGeoffrey Keating <geoffk@gcc.gnu.org>2006-11-01 05:16:14 +0000
commite430546039493165bb72d050645f70e87a2f7ffd (patch)
tree699c87f45ac8d8f3301362648096b1084d3f9031 /gcc/cp/cp-objcp-common.h
parent167fa32c09eb5d93d23c74365a4ce818762de826 (diff)
downloadgcc-e430546039493165bb72d050645f70e87a2f7ffd.zip
gcc-e430546039493165bb72d050645f70e87a2f7ffd.tar.gz
gcc-e430546039493165bb72d050645f70e87a2f7ffd.tar.bz2
In gcc/:
* toplev.c (compile_file): Call final_write_globals even if there have been errors. In gcc/cp/: * decl2.c (cp_write_global_declarations): Rename from cp_finish_file. * cp-lang.c (finish_file): Don't call cp_finish_file. * cp-tree.h (cp_write_global_declarations): Rename from cp_finish_file. * cp-objcp-common.h (LANG_HOOKS_WRITE_GLOBALS): Define to cp_write_global_declarations. From-SVN: r118362
Diffstat (limited to 'gcc/cp/cp-objcp-common.h')
-rw-r--r--gcc/cp/cp-objcp-common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/cp-objcp-common.h b/gcc/cp/cp-objcp-common.h
index 5424d77..23e1f0f 100644
--- a/gcc/cp/cp-objcp-common.h
+++ b/gcc/cp/cp-objcp-common.h
@@ -84,7 +84,7 @@ extern tree objcp_tsubst_copy_and_build (tree, tree, tsubst_flags_t,
#undef LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL
#define LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL cxx_warn_unused_global_decl
#undef LANG_HOOKS_WRITE_GLOBALS
-#define LANG_HOOKS_WRITE_GLOBALS lhd_do_nothing
+#define LANG_HOOKS_WRITE_GLOBALS cp_write_global_declarations
#undef LANG_HOOKS_COMDAT_GROUP
#define LANG_HOOKS_COMDAT_GROUP cxx_comdat_group
#undef LANG_HOOKS_BUILTIN_FUNCTION