diff options
author | Jason Merrill <jason@yorick.cygnus.com> | 1998-10-28 01:53:50 +0000 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 1998-10-27 20:53:50 -0500 |
commit | aa45967f76ad4641556288a415eaceaf2269c9d5 (patch) | |
tree | 7eef74f4242089b2072e082e3cc77e5aef19ad5d /gcc/java | |
parent | b58c9a790af44c27c4bdc15106d4685f8d38f831 (diff) | |
download | gcc-aa45967f76ad4641556288a415eaceaf2269c9d5.zip gcc-aa45967f76ad4641556288a415eaceaf2269c9d5.tar.gz gcc-aa45967f76ad4641556288a415eaceaf2269c9d5.tar.bz2 |
call.c (add_function_candidate): Treat conversion functions as coming from the argument's class.
* call.c (add_function_candidate): Treat conversion functions
as coming from the argument's class.
* cp-tree.h (DECL_CONV_FN_P): New fn.
(DECL_DESTRUCTOR_P): Also check DECL_LANGUAGE.
* class.c (add_method): Use DECL_CONV_FN_P.
* decl2.c (check_classfn): Likewise.
* error.c (dump_function_name): Likewise.
(dump_function_decl): Likewise.
* pt.c (fn_type_unification): Likewise.
* search.c (add_conversions): Likewise.
From-SVN: r23387
Diffstat (limited to 'gcc/java')
0 files changed, 0 insertions, 0 deletions