summaryrefslogtreecommitdiff
path: root/libcxx/test/std/strings/string.view/string.view.comparison/less_equal.pass.cpp
AgeCommit message (Collapse)Author
2023-12-05[libc++][test] Fix simple warnings (#74186)Stephan T. Lavavej
Found while running libc++'s tests with MSVC's STL. This fixes 3 kinds of warnings: - Add void-casts to fix `-Wunused-variable` warnings. - Avoid sign/truncation warnings in `ConvertibleToIntegral.h`. - Add `TEST_STD_AT_LEAST_23_OR_RUNTIME_EVALUATED` to avoid mixing preprocessor and runtime tests. - Cleanup: Add `TEST_STD_AT_LEAST_20_OR_RUNTIME_EVALUATED` for consistency.
2023-09-01[libc++] Apply clang formatting to all string unit testsBrendan Emery
This applies clang-format to the std::string unit tests in preparation for landing https://reviews.llvm.org/D140550. Differential Revision: https://reviews.llvm.org/D140612
2022-06-03[libc++][test] Skip string_view tests for other vendors on older modesJoe Loser
`string_view` is supported all the way back to C++03 as an extension in `libc++`, and so many of the tests run in all standards modes for all vendors. This is unlikely desired by other standard library vendors using our test suite. So, disable the tests for vendors other than `libc++` in these older standards modes. Differential Revision: https://reviews.llvm.org/D126850
2022-06-01[libc++][test] Enable constexpr string comparison testsJoe Loser
Some tests in `string.view.comparison` are not enabled due to previous lack of support for `constexpr std::string`. Now that it is implemented, we can enable these tests. Differential Revision: https://reviews.llvm.org/D126737
2021-12-01[libc++] [test] Refactor string_view comparison tests for comprehensiveness.Arthur O'Dwyer
Differential Revision: https://reviews.llvm.org/D114658