Small lambda fixes.
authorJason Merrill <jason@redhat.com>
Thu, 28 Sep 2017 19:39:32 +0000 (15:39 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 28 Sep 2017 19:39:32 +0000 (15:39 -0400)
commit697a7a575de01835b3941e6b6d25b940033301d5
treec8985e016bcb5b8322adb1fc5c653500fe51f82c
parent6ad0466f585aff427339b66e2228ac99d1d595bf
Small lambda fixes.

* call.c (build_special_member_call): Use the return value of
mark_lvalue_use.
* decl.c (compute_array_index_type): Likewise.
* parser.c (cp_parser_oacc_wait_list): Likewise.
* lambda.c (is_normal_capture_proxy): Handle *this capture.
(add_capture): Clarify internal_error message.

From-SVN: r253264
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/cp/decl.c
gcc/cp/lambda.c
gcc/cp/parser.c