name-lookup.c (struct scope_binding): New.
authorGeoffrey Keating <geoffk@apple.com>
Fri, 14 May 2004 22:33:28 +0000 (22:33 +0000)
committerGeoffrey Keating <geoffk@gcc.gnu.org>
Fri, 14 May 2004 22:33:28 +0000 (22:33 +0000)
commit15f8ac7f0878178cca61636f81323629624e4585
tree3e8287a81abc527140b1f10cc83f72439495a9cf
parentae0d0d592f01a1d71ee5941b241b9af75c66ef23
name-lookup.c (struct scope_binding): New.

* name-lookup.c (struct scope_binding): New.
(EMPTY_SCOPE_BINDING): New.
(lookup_using_namespace): Take a scope_binding instead of a
cxx_binding.
(qualified_lookup_using_namespace): Likewise.
(cxx_binding_clear): Delete.
(do_nonmember_using_decl): Use a scope_binding instead of a
cxx_binding.
(lookup_tag): Don't call select_decl.
(ambiguous_decl): Don't return anything (and change callers to match).
Take a scope_binding as the second parameter.
(lookup_namespace_name): Use a scope_binding instead of a
cxx_binding.
(unqualified_namespace_lookup): Likewise.
(lookup_qualified_name): Likewise.
(select_decl): Take a scope_binding instead of a cxx_binding.
Use macros rather than hand-coding tests for type-ness.

From-SVN: r81864
gcc/cp/ChangeLog
gcc/cp/name-lookup.c