decl.c (tag_name): New fn.
authorJason Merrill <jason@yorick.cygnus.com>
Sun, 22 Nov 1998 21:34:27 +0000 (21:34 +0000)
committerJason Merrill <jason@gcc.gnu.org>
Sun, 22 Nov 1998 21:34:27 +0000 (16:34 -0500)
commit094fe153c47e21f0c332ad277babde2858600ab4
treeafde2aba1f0d1acfbc460eaa557cb7a2935d2841
parent8190f0737fd9a7b86b505c342c7cd894397ede35
decl.c (tag_name): New fn.

* decl.c (tag_name): New fn.
(xref_tag): Complain about using typedef-name after class-key.
Fixes Sec7/1_3/C07351.cm.
* init.c (expand_vec_init): Also keep going if from_array.
Fixes g++.other/copy1.C.
* tree.c (is_overloaded_fn): Also handle the output of
build_offset_ref.
Fixes Sec5/3_3/S05162.C.
* decl.c (grokdeclarator): Use constructor_name when comparing
field name against enclosing class.
* class.c (finish_struct_anon): Likewise.
Fixes Sec9/2/C09268.cm.

From-SVN: r23758
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/cp/decl.c
gcc/cp/init.c
gcc/cp/tree.c