diff options
author | Jason Merrill <jason@yorick.cygnus.com> | 1998-11-24 02:33:48 +0000 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 1998-11-23 21:33:48 -0500 |
commit | 37b6eb345f9504a6b4543a9b1ecceb965556173d (patch) | |
tree | affd988f12b804dac1f96dc76b3a1879701f5aeb /gcc/java/java-tree.def | |
parent | 52e1eb536c07b16813c1ed39e5bf40be0b8845b7 (diff) | |
download | gcc-37b6eb345f9504a6b4543a9b1ecceb965556173d.zip gcc-37b6eb345f9504a6b4543a9b1ecceb965556173d.tar.gz gcc-37b6eb345f9504a6b4543a9b1ecceb965556173d.tar.bz2 |
class.c (add_method): Build up OVERLOADs properly for conversion ops.
* class.c (add_method): Build up OVERLOADs properly for conversion ops.
* search.c (lookup_conversions): Handle getting real OVERLOADs.
(add_conversions): Likewise. Revert last change.
* call.c (add_conv_candidate): Pass totype to add_candidate instead
of fn. Don't add a new candidate if the last one was for the same
type.
(print_z_candidates): Handle getting a type as a function.
(joust): If we got two conversion candidates to the same type,
just pick one.
(build_object_call): Lose 'templates'.
(build_user_type_conversion_1): Handle getting real OVERLOADs.
Fixes g++.jason/overload7.C.
From-SVN: r23822
Diffstat (limited to 'gcc/java/java-tree.def')
0 files changed, 0 insertions, 0 deletions