call.c (add_candidates): Add first_arg and return_type parms.
commit5c824000a5b855d454483bee7d32850f161ecdab
authorJason Merrill <jason@redhat.com>
Wed, 12 May 2010 17:34:15 +0000 (12 13:34 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 12 May 2010 17:34:15 +0000 (12 13:34 -0400)
tree745079a1dbccb8a8aeb388354725e36ec502ff4f
parent1df439077d1f123c12e9947dc56a749d5a44d1f8
call.c (add_candidates): Add first_arg and return_type parms.

* call.c (add_candidates): Add first_arg and return_type parms.
Add special constructor/conversion op handling.
(convert_class_to_reference): Use it.
(build_user_type_conversion_1): Likewise.
(build_op_call): Likewise.
(build_new_method_call): Likewise.
(build_new_op): Adjust.
(perform_overload_resolution): Adjust.

From-SVN: r159332
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.old-deja/g++.robertl/eb43.C