parser.c (cp_parser_lambda_expression): Clear LAMBDA_EXPR_THIS_CAPTURE after parsing.
authorJason Merrill <jason@redhat.com>
Fri, 17 Jun 2011 20:07:45 +0000 (16:07 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 17 Jun 2011 20:07:45 +0000 (16:07 -0400)
commit806010b9faf8e87d4bbdb01f0912801796f30708
tree1842e01a48cfd2193e626c4094b0bab4493d7987
parent2cd8d506c4c4ffac3b47e2fe55c94de35e8de0f7
parser.c (cp_parser_lambda_expression): Clear LAMBDA_EXPR_THIS_CAPTURE after parsing.

* parser.c (cp_parser_lambda_expression): Clear
LAMBDA_EXPR_THIS_CAPTURE after parsing.
* pt.c (tsubst_copy_and_build): Make sure it isn't set.

From-SVN: r175156
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/parser.c
gcc/cp/pt.c