OSDN Git Service

* call.c (add_candidates): Distinguish between type(x) and
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 12 May 2010 17:34:28 +0000 (17:34 +0000)
committerMasaki Muranaka <monaka@monami-software.com>
Sun, 23 May 2010 05:06:31 +0000 (14:06 +0900)
commit9c115b31e47a113ab7a279be48ef3bfc1d88b275
treeefc0613766ab3bb26504f611d665248b2c7ac7c0
parentb74ae3d461a89e3381aca6e36594981a335e48b2
* call.c (add_candidates): Distinguish between type(x) and
x.operator type().
(convert_class_to_reference): Set LOOKUP_NO_CONVERSION.
(build_new_method_call): Give better error for conversion op.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159333 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/cp/cp-tree.h
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/conv11.C