decl.c (cp_binding_level): Add static_decls varray member.
authorMatt Austern <austern@apple.com>
Wed, 5 Mar 2003 22:08:39 +0000 (22:08 +0000)
committerMatt Austern <austern@gcc.gnu.org>
Wed, 5 Mar 2003 22:08:39 +0000 (22:08 +0000)
commit1d555f7aecf2802ae7f21891aea9d3de0407c88b
treeb7d625569420453dc5ec062beba56a278188f78c
parent35b0708052ed3381ee58d4e6251e3e43da411a4e
decl.c (cp_binding_level): Add static_decls varray member.

* decl.c (cp_binding_level): Add static_decls varray member.
(add_decl_to_level): Add static/inline namespace scope
declarations to static_decls array.
(wrapup_global_for_namespace): Pass static_decls only, instead of
all decls, to wrapup_global_declarations/check_global_declarations.
(push_namespace): Initialize static_decls for ordinary namespaces.
(cxx_init_decl_processing): Initialize static_decls for global
namespace.

From-SVN: r63866
gcc/cp/ChangeLog
gcc/cp/decl.c