| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2023-09-27 | [libc++] Refactor string unit tests to ease addition of new allocators | Louis Dionne | |
| While doing this, I also found a few tests that were either clearly incorrect (e.g. testing the wrong function) or that lacked basic test coverage like testing std::string itself (e.g. the test was only checking std::basic_string with a custom allocator). In these cases, I did a few conservative drive-by changes. Differential Revision: https://reviews.llvm.org/D140550 Co-authored-by: Brendan Emery <brendan.emery@esrlabs.com> | |||
| 2023-09-01 | [libc++] Apply clang formatting to all string unit tests | Brendan 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-04-27 | [libc++] Implement P0980R1 (constexpr std::string) | Nikolas Klauser | |
| Reviewed By: #libc, ldionne Spies: daltenty, sdasgup3, ldionne, arichardson, MTC, ChuanqiXu, mehdi_amini, shauheen, antiagainst, nicolasvasilache, arpith-jacob, mgester, lucyrfox, aartbik, liufengdb, stephenneuendorffer, Joonsoo, grosul1, Kayjukh, jurahul, msifontes, tatianashp, rdzhabarov, teijeong, cota, dcaballe, Chia-hungDuan, wrengr, wenzhicui, arphaman, Mordante, miscco, Quuxplusone, smeenai, libcxx-commits Differential Revision: https://reviews.llvm.org/D110598 | |||
| 2022-03-19 | [libc++] Prepare string tests for constexpr | Nikolas Klauser | |
| These are the last™ changes to the tests for constexpr preparation. Reviewed By: Quuxplusone, #libc, Mordante Spies: Mordante, EricWF, libcxx-commits Differential Revision: https://reviews.llvm.org/D120951 | |||
| 2022-02-10 | [libc++] Prepare string.{contains, ends_with, iterators, require, ↵ | Nikolas Klauser | |
| starts_with} tests for constexpr Reviewed By: ldionne, #libc Spies: libcxx-commits Differential Revision: https://reviews.llvm.org/D119304 | |||
| 2021-04-12 | [libc++] Divorce the std Lit feature from the -std=XXX compiler flag | Louis Dionne | |
| After this patch, we can use `--param std=c++20` even if the compiler only supports -std=c++2a. The test suite will handle that for us. The only Lit feature that isn't fully baked will always be the "in development" one, since we don't know exactly what year the standard will be ratified in. This is another take on https://reviews.llvm.org/D99789. Differential Revision: https://reviews.llvm.org/D100210 | |||
| 2021-01-19 | [libc++][P1679] add string contains | Wim Leflere | |
| C++23 string contains implementation and tests Paper: https://wg21.link/P1679R3 Standard (string): https://eel.is/c++draft/string.contains Standard (string_view): https://eel.is/c++draft/string.view.ops#lib:contains,basic_string_view Differential Revision: https://reviews.llvm.org/D93912 | |||
