OSDN Git Service

* g++.old-deja/g++.benjamin/16077.C: Adjust warnings.
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 11 Mar 2003 02:37:17 +0000 (02:37 +0000)
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 11 Mar 2003 02:37:17 +0000 (02:37 +0000)
commitc6a06e1fe0602704f8ef7f7c8597b5c3edd12b3d
tree8c8dcae3e7521a708a6694ea65fcb7be091800de
parenta49204758f1aab641ab0b5fdc999684ecbb8abf7
* g++.old-deja/g++.benjamin/16077.C: Adjust warnings.
* g++.old-deja/g++.warn/impint2.C: Likewise.

* call.c (perform_overload_resolution): New function.
(build_new_function_call): Use it.
(build_operator_new_call): Likewise.
(add_candidates): Add explicit_targs and template_only parameters.
(build_new_op): Adjust accordingly.
* cp-tree.h (build_operator_new_call): New function.
(build_function_call_real): Remove.
(build_function_call_maybe): Likewise.
* init.c (build_new_1): Use build_operator_new_call.
* typeck.c (build_function_call_real): Rename to ...
(build_function_call): ... this.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64159 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/cp/cp-tree.h
gcc/cp/init.c
gcc/cp/typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.old-deja/g++.benjamin/16077.C
gcc/testsuite/g++.old-deja/g++.warn/impint2.C