diff options
author | Nikolas Klauser <nikolasklauser@berlin.de> | 2023-05-23 08:59:13 -0700 |
---|---|---|
committer | Nikolas Klauser <n_klauser@apple.com> | 2023-05-23 08:59:37 -0700 |
commit | 75eb3bd1a43db7d72be0a12edce4b1f6a2bb1fa7 (patch) | |
tree | 8779d76f262cf839d6f59044c60e47412b353f1a /llvm/lib/IR/Module.cpp | |
parent | 9334a8580151f32680ac346fc9cd8b85e63c63d3 (diff) | |
download | llvm-75eb3bd1a43db7d72be0a12edce4b1f6a2bb1fa7.zip llvm-75eb3bd1a43db7d72be0a12edce4b1f6a2bb1fa7.tar.gz llvm-75eb3bd1a43db7d72be0a12edce4b1f6a2bb1fa7.tar.bz2 |
[libc++] Remove tests from ranges.pass.cpp which violate semantic requirements
This also removes some tests which we have grouped together into robust_from_*.pass.cpp tests.
Specifically, checking that
- `ranges::dangling` is returned is done in `libcxx/test/std/algorithms/ranges_robust_against_dangling.pass.cpp`
- `std::invoke` is used is done in `libcxx/test/std/algorithms/ranges_robust_against_omitting_invoke.pass.cpp`.
- implicit conversion to bool works is done in `libcxx/test/std/algorithms/ranges_robust_against_nonbool_predicates.pass.cpp`
Checking the comparison order is invalid because the `operator==` isn't symmetric.
Checking what the exact type of `operator==` is, is invalid because comparing the same object has to yield the same results if the objects are not modified.
Reviewed By: ldionne, #libc
Spies: EricWF, libcxx-commits
Differential Revision: https://reviews.llvm.org/D150588
Diffstat (limited to 'llvm/lib/IR/Module.cpp')
0 files changed, 0 insertions, 0 deletions