OSDN Git Service

* langhooks.h, langhooks-def.h: introduce new langhook,
authoraustern <austern@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 18 Feb 2003 18:50:05 +0000 (18:50 +0000)
committeraustern <austern@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 18 Feb 2003 18:50:05 +0000 (18:50 +0000)
commit28db4d965ab6f20bb4d7eb9ab93f1a99bf68c868
treef2d1ae8da2b00770c1682fd0408e81e6c1fb7257
parent05967fa212f9583d6b1b174685474479fe4ddc7c
   * langhooks.h, langhooks-def.h: introduce new langhook,
       final_write_globals, with write_global_declarations as default.
       * toplev.c: Move invocation of wrapup_global_declarations from
       compile_file to new function, write_global_declarations.  Change
       compile_file to use final_write_globals hook.  Change
       wrapup_global_declarations so writing to DECL_DEFER_OUTPUT is
       conditional.

       * cp/cp-lang.c: Change lang hooks so that final_write_globals does
       nothing for C++.
       * cp/decl.c (wrapup_globals_for_namespace): Remove special
       handling of global namespace.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63051 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/cp/ChangeLog
gcc/cp/cp-lang.c
gcc/cp/decl.c
gcc/langhooks-def.h
gcc/langhooks.h
gcc/toplev.c