diff options
author | Geoffrey Keating <geoffk@apple.com> | 2004-05-14 22:33:28 +0000 |
---|---|---|
committer | Geoffrey Keating <geoffk@gcc.gnu.org> | 2004-05-14 22:33:28 +0000 |
commit | 15f8ac7f0878178cca61636f81323629624e4585 (patch) | |
tree | 3e8287a81abc527140b1f10cc83f72439495a9cf /gcc/fortran/decl.c | |
parent | ae0d0d592f01a1d71ee5941b241b9af75c66ef23 (diff) | |
download | gcc-15f8ac7f0878178cca61636f81323629624e4585.zip gcc-15f8ac7f0878178cca61636f81323629624e4585.tar.gz gcc-15f8ac7f0878178cca61636f81323629624e4585.tar.bz2 |
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
Diffstat (limited to 'gcc/fortran/decl.c')
0 files changed, 0 insertions, 0 deletions