cp-tree.h (lookup_nested_field): Remove.
authorMark Mitchell <mark@codesourcery.com>
Thu, 15 Apr 1999 19:21:21 +0000 (19:21 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Thu, 15 Apr 1999 19:21:21 +0000 (19:21 +0000)
commit6b400b21320eff9d60593aab27225e972d167a54
treea52f77a104060d167a13082ea8b19035d0ce7011
parent3d7de1fa03bd7dd6c5b9826cb14ea4db2ea03c6c
cp-tree.h (lookup_nested_field): Remove.

* cp-tree.h (lookup_nested_field): Remove.
* class.c (push_nested_class): Handle UNION_TYPEs.
(pop_nested_class): Likewise.
* decl.c (lookup_name_real): Don't call lookup_nested_field.
(start_decl): Use push_nested_class, not just pushclass.
(cp_finish_decl): Use pop_nested_class, not just popclass.
* search.c (lookup_nested_field): Remove.

From-SVN: r26476
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/cp/cp-tree.h
gcc/cp/decl.c
gcc/cp/search.c
gcc/testsuite/g++.old-deja/g++.other/lookup14.C [new file with mode: 0644]