OSDN Git Service

PR c++/42370
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 9 Feb 2010 20:05:51 +0000 (20:05 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 9 Feb 2010 20:05:51 +0000 (20:05 +0000)
commit93529b28fa5b6fca2c417f9ad59d6af66a426baa
tree26a08d06bcdc1e2c8c582ce22c772d0c2726683d
parent51672aa815472751fee95708ff7f027b5fd3747f
PR c++/42370
* decl2.c (change_return_type): New fn.
* semantics.c (apply_lambda_return_type): Use it.
* cp-tree.h: Declare it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156634 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/decl2.c
gcc/cp/semantics.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/lambda/lambda-warn2.C [new file with mode: 0644]