llvm-project/libcxx/test/std/algorithms
Arthur O'Dwyer b07b5bd727 [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
2021-11-19 15:03:24 -05:00
..
alg.c.library
alg.modifying.operations [libc++] Remove test-suite annotations for unsupported Clang versions 2021-08-20 15:05:13 -04:00
alg.nonmodifying [libcxx][nfc] prefixes test type `input_iterator` with `cpp17_` 2021-05-02 05:02:59 +00:00
alg.sorting [libc++] Add introsort to avoid O(n^2) behavior 2021-11-16 11:38:46 -05:00
algorithms.general
robust_against_adl.compile.pass.cpp [libc++] Test that our algorithms never copy a user-provided comparator. 2021-11-19 15:03:24 -05:00
robust_against_adl_on_new.pass.cpp [libc++] [test] Add "robust_re_difference_type.compile.pass.cpp" for all the algorithms. 2021-11-18 00:12:41 -05:00
robust_re_difference_type.compile.pass.cpp [libc++] Test that our algorithms never copy a user-provided comparator. 2021-11-19 15:03:24 -05:00