llvm-project/libcxx/test/std/algorithms/alg.modifying.operations/alg.move
Konstantin Varlamov f537a01d39 [libc++][ranges] Fix the return value of `{copy,move}_backward`.
The return value for both of these algorithms is specified as
```
`{last, result - N}` for the overloads in namespace `ranges`.
```
But the current implementation instead returns `{first, result - N}`.

Also add both algorithms to the relevant "robust" tests.

Differential Revision: https://reviews.llvm.org/D130968
2022-08-02 22:22:59 -07:00
..
contiguous_trivial_optimization.pass.cpp [libc++] Remove test-suite annotations for unsupported Clang versions 2021-08-20 15:05:13 -04:00
move.pass.cpp [libc++][NFC] Use cpp17_output_iterator in tests. 2022-02-04 08:01:20 +01:00
move_backward.pass.cpp [libc++] Remove test-suite annotations for unsupported Clang versions 2021-08-20 15:05:13 -04:00
ranges.move.pass.cpp [libcxx][ranges] Create a test tool `ProxyIterator` that customises `iter_move` and `iter_swap` 2022-07-08 00:00:21 +01:00
ranges.move_backward.pass.cpp [libc++][ranges] Fix the return value of `{copy,move}_backward`. 2022-08-02 22:22:59 -07:00