diff options
| author | Arthur O'Dwyer <arthur.j.odwyer@gmail.com> | 2021-11-18 00:07:23 -0500 |
|---|---|---|
| committer | Arthur O'Dwyer <arthur.j.odwyer@gmail.com> | 2021-11-19 15:03:24 -0500 |
| commit | b07b5bd72716625e0976a84d23652d94d8d0165a (patch) | |
| tree | 0e82c9837bfb6063a08b1feb38654129dc5e4957 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | d8e5a0c42bd8796cce9caa53aacab88c7cb2a3eb (diff) | |
[libc++] Test that our algorithms never copy a user-provided comparator.
This is not mandated by the standard, so it goes in libcxx/test/libcxx/.
It's certainly arguable that the algorithms changed here
(`is_heap`, `is_sorted`, `min`, `max`) are harmless and we should
just let them copy their comparators once. But at the same time,
it's nice to have all our algorithms be 100% consistent and never
copy a comparator, not even once.
Differential Revision: https://reviews.llvm.org/D114136
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
