]> git.ipfire.org Git - thirdparty/gcc.git/commit
semantics.c (lambda_expr_this_capture): In unevaluated context, just return the neare...
authorJason Merrill <jason@redhat.com>
Fri, 8 Mar 2013 16:04:02 +0000 (11:04 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 8 Mar 2013 16:04:02 +0000 (11:04 -0500)
commit37fb0a98782876d242f27708e13723c4a2a5d8c7
treed3fcb4bddef3180429388cfa791c683f2ed22e7e
parent0ef811d71e69f732716e92c81d157aa1c88e7e22
semantics.c (lambda_expr_this_capture): In unevaluated context, just return the nearest 'this'.

* semantics.c (lambda_expr_this_capture): In unevaluated context,
just return the nearest 'this'.

From-SVN: r196550
gcc/cp/ChangeLog
gcc/cp/semantics.c
gcc/testsuite/g++.dg/cpp0x/lambda/lambda-this12.C [new file with mode: 0644]