method.c (hack_identifier): Don't let a class template out.
authorJason Merrill <jason@yorick.cygnus.com>
Tue, 16 Jun 1998 02:51:01 +0000 (02:51 +0000)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 16 Jun 1998 02:51:01 +0000 (22:51 -0400)
commit1c2c08a5531fb816f8da4599428d6a8223dd3d5a
treefa90bdc903bf55966857420c39e6ce0bdf3f83fc
parent8b45da67d0eaa8d7fec5913d9439d88865edfc55
method.c (hack_identifier): Don't let a class template out.

* method.c (hack_identifier): Don't let a class template out.
* call.c (check_dtor_name): Split out.
(build_scoped_method_call): Use it.
(build_method_call): Use it.
* init.c (build_offset_ref): Use it.
* typeck.c (build_static_cast): Fix handling of pointers to members.
* decl.c (finish_function): Just return nothing from a constructor.
* typeck.c (c_expand_return): Complain about returning a void
expression from a destructor.

From-SVN: r20521
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/cp/decl.c
gcc/cp/init.c
gcc/cp/method.c
gcc/cp/typeck.c