Breack out decl.c (3/n)
authorGabriel Dos Reis <gdr@integrable-solutions.net>
Tue, 14 Oct 2003 20:34:41 +0000 (20:34 +0000)
committerGabriel Dos Reis <gdr@gcc.gnu.org>
Tue, 14 Oct 2003 20:34:41 +0000 (20:34 +0000)
commita5e6b29b07b0971b9a8a49d65d342407deef89c5
tree7702e6868d44b1748368cc92f84ceb0e7c0f98e8
parente7f86e619d6fc887bdab16a04a6fce0615b41c6b
Breack out decl.c (3/n)

Breack out decl.c (3/n)
* name-lookup.c: Include flags.h
(lookup_name_current_level): Make static.
(add_decl_to_level): Likewise.
(push_local_binding): Likewise.
(push_overloaded_decl): Likewise.
(lookup_using_namespace): Likewise.
(qualified_lookup_using_namespace): Likewise.
(lookup_type_current_level): Likewise.
(unqualified_namespace_lookup): Likewise.
(namespace_ancestor): Likewise.
(push_using_directive): Likewise.
* decl.c (pushdecl): Move to name-lookup.c.
(pushdecl_top_level_1): Likewise.
(pushdecl_top_level): Likewise.
(pushdecl_top_level_and_finish): Likewise.
(maybe_push_decl): Likewise.
(push_using_decl): Likewise.
(push_overloaded_decl): Likewise.
(make_anon_name): Likewise.
(anon_cnt): Likewise.
(clear_anon_tags): Likewise.
(maybe_inject_for_scope_var): Likewise.
(check_for_out_of_scope_variable): Likewise.
* Make-lang.in (cp/name-lookup.o): Depend on flags.h.
* decl.c (warn_extern_redeclared_static): Export.
* cp-tree.h (warn_extern_redeclared_static): Declare.

From-SVN: r72492
gcc/cp/ChangeLog
gcc/cp/Make-lang.in
gcc/cp/cp-tree.h
gcc/cp/decl.c
gcc/cp/name-lookup.c
gcc/cp/name-lookup.h