aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptedPythonInterface.h
diff options
context:
space:
mode:
authorMark de Wever <koraq@xs4all.nl>2021-11-06 20:30:08 +0100
committerMark de Wever <koraq@xs4all.nl>2021-11-09 20:12:02 +0100
commit65fceaebc79112d755cdda4a58828fdd9318e45f (patch)
tree6c6b88d809b574f41898055f1fd0f7671fbfd30b /lldb/source/Plugins/ScriptInterpreter/Python/ScriptedPythonInterface.h
parent7562c64197acbee60c4bb0d211eb699ad24f5bb8 (diff)
downloadllvm-65fceaebc79112d755cdda4a58828fdd9318e45f.zip
llvm-65fceaebc79112d755cdda4a58828fdd9318e45f.tar.gz
llvm-65fceaebc79112d755cdda4a58828fdd9318e45f.tar.bz2
[libc++] Adds missing forward_list merge tests.
During the review of D112660 it turned out the tests for `std::forward_list::merge` are incomplete. Adds tests for the rvalue reference overloads. The tests are extended to better test the Effects [forward.list.ops]/25 and Remarks [forward.list.ops]/27 of the function: - x is empty after the merge. - Pointers and references to the moved elements of x now refer to those same elements but as members of *this. - Iterators referring to the moved elements will continue to refer to their elements, but they now behave as iterators into *this, not into x. - The algorithm is stable. Reviewed By: Quuxplusone, #libc, ldionne Differential Revision: https://reviews.llvm.org/D113364
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptedPythonInterface.h')
0 files changed, 0 insertions, 0 deletions