diff options
author | Nathan Sidwell <nathan@acm.org> | 2018-01-18 11:53:50 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@gcc.gnu.org> | 2018-01-18 11:53:50 +0000 |
commit | 5a752e3f7920c1d72c130096e0e0fea023cf8ffc (patch) | |
tree | 3046a3abdcbe7ee5a733086c11fc73ee9929a57c /libcpp/include/cpplib.h | |
parent | 7467ab4232babb1ac9b906fe91abb9226464b884 (diff) | |
download | gcc-5a752e3f7920c1d72c130096e0e0fea023cf8ffc.zip gcc-5a752e3f7920c1d72c130096e0e0fea023cf8ffc.tar.gz gcc-5a752e3f7920c1d72c130096e0e0fea023cf8ffc.tar.bz2 |
PR c++/83160] local ref to capture
https://gcc.gnu.org/ml/gcc-patches/2018-01/msg01638.html
PR c++/83160
* cp-tree.h (mark_use): Declare.
* expr.c (mark_use): Make extern.
* call.c (direct_reference_binding): Set inner conv's
rvaluedness_matches_p, if it is an identity.
(convert_like_real): Mark lvalue or rvalue use for identity as
rvaledness_matches_p demands.
PR c++/83160
* g++.dg/cpp0x/pr83160.C: New.
From-SVN: r256842
Diffstat (limited to 'libcpp/include/cpplib.h')
0 files changed, 0 insertions, 0 deletions