diff options
author | Iain Sandoe <iain@sandoe.co.uk> | 2020-05-21 15:06:53 +0100 |
---|---|---|
committer | Giuliano Belinassi <giuliano.belinassi@usp.br> | 2020-08-17 13:04:03 -0300 |
commit | 1c3075d7883f3907abc58afe894e1649935b3b6d (patch) | |
tree | 32441203980801206a43c3992e0d55134788db9f /gcc/cp/constexpr.c | |
parent | 162cb6c29c8cd63dd8d2500f25c5e823502ce795 (diff) | |
download | gcc-1c3075d7883f3907abc58afe894e1649935b3b6d.zip gcc-1c3075d7883f3907abc58afe894e1649935b3b6d.tar.gz gcc-1c3075d7883f3907abc58afe894e1649935b3b6d.tar.bz2 |
coroutines: Partial reversion of r11-437-g5ef067eb14d4.
co_returns are statements, not expressions; they do not need
to be wrapped in an EXPR_STMT.
gcc/cp/ChangeLog:
* coroutines.cc (finish_co_return_stmt): Revert change to use
finish_expr_stmt.
Diffstat (limited to 'gcc/cp/constexpr.c')
0 files changed, 0 insertions, 0 deletions