diff options
author | Jason Merrill <jason@redhat.com> | 2017-12-04 17:52:07 -0500 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2017-12-04 17:52:07 -0500 |
commit | 899ac3b80040d7879082b5df11675cea88a43756 (patch) | |
tree | 5044a11213ef3456a0847e4bfbb8801ef4d9b571 /libstdc++-v3/include/std/streambuf | |
parent | f3abed16a01153c7a72d5795076c392cdb19c9dd (diff) | |
download | gcc-899ac3b80040d7879082b5df11675cea88a43756.zip gcc-899ac3b80040d7879082b5df11675cea88a43756.tar.gz gcc-899ac3b80040d7879082b5df11675cea88a43756.tar.bz2 |
PR c++/83273 - constexpr if allows non-constant condition
* semantics.c (finish_if_stmt_cond): Use require_constant_expression
rather than is_constant_expression.
* constexpr.c (potential_constant_expression_1) [LAMBDA_EXPR]: Allow
in C++17.
From-SVN: r255390
Diffstat (limited to 'libstdc++-v3/include/std/streambuf')
0 files changed, 0 insertions, 0 deletions