N3648: init-captures are named.
authorJason Merrill <jason@redhat.com>
Wed, 24 Apr 2013 15:03:58 +0000 (11:03 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 24 Apr 2013 15:03:58 +0000 (11:03 -0400)
commit76089b28bdc81483094af1af96bd8ec352826939
tree3062574fc0513a27dc25fdbfccc995faeba48613
parent399bb2da17cbe7474cd38556d051e921fc74c113
N3648: init-captures are named.

* semantics.c (add_capture): Don't prepend "__" to init-captures.
(build_capture_proxy): Adjust.
* error.c (dump_simple_decl): Check DECL_NORMAL_CAPTURE_P.

From-SVN: r198247
gcc/cp/ChangeLog
gcc/cp/error.c
gcc/cp/semantics.c
gcc/testsuite/g++.dg/cpp1y/lambda-init6.C [new file with mode: 0644]