]> git.ipfire.org Git - thirdparty/gcc.git/commit
cp-tree.h (binding_for_name): Move to name-lookup.h Adjust prototype.
authorGabriel Dos Reis <gdr@integrable-solutions.net>
Sun, 30 Mar 2003 16:00:39 +0000 (16:00 +0000)
committerGabriel Dos Reis <gdr@gcc.gnu.org>
Sun, 30 Mar 2003 16:00:39 +0000 (16:00 +0000)
commited3cf9539b38d56097601dd56acd1433931ed603
treec2091d7753669f96b0193d11c08e165c9103f777
parent9a8075a164b4bd63e39b7ab3bda9d1958187f3c5
cp-tree.h (binding_for_name): Move to name-lookup.h Adjust prototype.

* cp-tree.h (binding_for_name: Move to name-lookup.h  Adjust
prototype.
(cxx_scope_find_binding_for_name): Likewise.
* decl.c (find_binding: Move to name-lookup.c.
(binding_for_name): Likewise.
(cxx_scope_find_binding_for_name): Likewise.
(BINDING_LEVEL):  Remove.
(push_binding): Tidy.
(push_class_binding): Likewise.
(pop_binding): Likewise.
(poplevel): Likewise.
(poplevel_class): Likewise.
(set_identifier_type_value_with_scope): Likewise.
(push_overloaded_decl): Likewise.
(lookup_tag): Likewise.
(unqualified_namespace_lookup): Likewise.
(lookup_name_current_level): Likewise.
(maybe_inject_for_scope_var): Likewise.
(namespace_binding): Move to name-lookup.c.
(set_namespace_binding): Likewise.
* decl2.c (lookup_using_namespace): Tidy.
(qualified_lookup_using_namespace): Likewise.
(do_toplevel_using_decl): Likewise.
* name-lookup.c: Include "timevar.h"
* name-lookup.h (cxx_scope):  Declare.
(struct cxx_binding): Lose member "has_level".  Adjust "scope"
member declaration.
(BINDING_SCOPE): Adjust definition.
(BINDING_HAS_LEVEL_P): Remove.

From-SVN: r65044
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/decl.c
gcc/cp/decl2.c
gcc/cp/name-lookup.c
gcc/cp/name-lookup.h