cp-tree.h (most_specialized_instantiation): New function.
authorMark Mitchell <mark@markmitchell.com>
Wed, 9 Dec 1998 16:20:05 +0000 (16:20 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Wed, 9 Dec 1998 16:20:05 +0000 (16:20 +0000)
commit104bf76a62749f2cd334f68cae1dd3bdd8129c74
tree69c4406fe4c67481e64f9fe45b9f71d673cd6ead
parentf8976021c4079ce1461fffb45622437ec13ff597
cp-tree.h (most_specialized_instantiation): New function.

* cp-tree.h (most_specialized_instantiation): New function.
(print_candidates): Likewise.
* class.c (validate_lhs): Remove.
(resolve_address_of_overloaded_function): New function, split out
and then substantially reworked, from ...
(instantiate_type): Use it.  Simplify.
* cvt.c (convert_to_reference): Complain when caller has indicated
that's the right thing to do.  Don't crash if instantiate_type
fails.
* pt.c: Substitute `parameters' for `paramters' throughout.
(print_candidates): Don't make it static.
(most_specialized_instantiation): Split out from ...
(most_specialized): Here.

From-SVN: r24225
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/cp/cp-tree.h
gcc/cp/cvt.c
gcc/cp/pt.c
gcc/testsuite/g++.old-deja/g++.other/overload8.C [new file with mode: 0644]
gcc/testsuite/g++.old-deja/g++.pt/overload10.C [new file with mode: 0644]
gcc/testsuite/g++.old-deja/g++.pt/overload9.C [new file with mode: 0644]