diff options
author | Arthur O'Dwyer <arthur.j.odwyer@gmail.com> | 2021-04-22 12:15:09 -0400 |
---|---|---|
committer | Arthur O'Dwyer <arthur.j.odwyer@gmail.com> | 2021-04-22 12:17:32 -0400 |
commit | 5dfbcc5ae953b786f493ce5e9d78a4b5c5e55229 (patch) | |
tree | 4d5c6c757cc1f147cc9a7139808c922dc5ef6bd2 /lldb/source/Commands/CommandObjectExpression.cpp | |
parent | 123ae425669e3e06f173958cc686ef6f81e498a8 (diff) | |
download | llvm-5dfbcc5ae953b786f493ce5e9d78a4b5c5e55229.zip llvm-5dfbcc5ae953b786f493ce5e9d78a4b5c5e55229.tar.gz llvm-5dfbcc5ae953b786f493ce5e9d78a4b5c5e55229.tar.bz2 |
[libc++] [test] Fix nodiscard_extensions.pass.cpp in _LIBCPP_DEBUG mode.
`std::clamp(2, 1, 3, std::greater<int>())` has UB because (1 > 3) is false.
Swap the operands to fix the _LIBCPP_ASSERT failure in this test.
Diffstat (limited to 'lldb/source/Commands/CommandObjectExpression.cpp')
0 files changed, 0 insertions, 0 deletions