summaryrefslogtreecommitdiff
path: root/libcxx/test/std/thread/thread.jthread
AgeCommit message (Collapse)Author
2025-10-09[libc++] Remove availability annotations that aren't required anymore (#161640)Nikolas Klauser
Apple dropped support for some older platforms, so we can also remove the annotations for them. See https://developer.apple.com/support/xcode/ for the supported versions.
2025-09-04[libc++][NFC] Use llvm.org/PR to link to bug reports (#156288)Nikolas Klauser
We've built up quite a few links directly to github within the code base. We should instead use `llvm.org/PR<issue-number>` to link to bugs, since that is resilient to the bug tracker changing in the future. This is especially relevant for tests linking to bugs, since they will probably be there for decades to come. A nice side effect is that these links are significantly shorter than the GH links, making them much less of an eyesore. This patch also replaces a few links that linked to the old bugzilla instance on llvm.org.
2025-08-25[libcxx][test] Fix typos (#155217)Stephan T. Lavavej
I noticed a typo in the directory name `refwrap.comparissons`, then did a quick pass to fix typos elsewhere in the tests. All fixes were manual (some carefully search-and-replaced); I used [cspell](https://www.npmjs.com/package/cspell) to find them.
2025-08-16[libc++][jthread] LWG3788: `jthread::operator=(jthread&&)` postconditions ↵Hristo Hristov
are unimplementable under self-assignment (#153758) Already implemented in LLVM18: [695138c](https://github.com/llvm/llvm-project/commit/695138ca8405779c2b7756cc31d887aa54f56bb8) For details see: https://github.com/llvm/llvm-project/issues/105045#issuecomment-3190674947 Closes #105045
2024-10-03[libc++] Remove test suite annotations for experimental stop_token (#110890)Louis Dionne
<stop_token> is not experimental anymore, so its tests shouldn't be guarded by libcpp-has-no-experimental-stop_token.
2024-09-16[libc++][modules] Fix missing and incorrect includes (#108850)Louis Dionne
This patch adds a large number of missing includes in the libc++ headers and the test suite. Those were found as part of the effort to move towards a mostly monolithic top-level std module.
2023-12-14[libc++][test] Enhance ADDITIONAL_COMPILE_FLAGS, use ↵Stephan T. Lavavej
TEST_MEOW_DIAGNOSTIC_IGNORED sparingly (#75317) This is the last PR that's needed (for now) to get libc++'s tests working with MSVC's STL. The ADDITIONAL_COMPILE_FLAGS machinery is very useful, but also very problematic for MSVC, as it doesn't understand most of Clang's compiler options. We've been dealing with this by simply marking anything that uses ADDITIONAL_COMPILE_FLAGS as FAIL or SKIPPED, but that creates significant gaps in test coverage. Fortunately, ADDITIONAL_COMPILE_FLAGS also supports "features", which can be slightly enhanced to send Clang-compatible and MSVC-compatible options to the right compilers. This patch adds the gcc-style-warnings and cl-style-warnings Lit features, and uses that to pass the appropriate warning flags to tests. It also uses TEST_MEOW_DIAGNOSTIC_IGNORED for a few local suppressions of MSVC warnings.
2023-10-13[libc++] Introduce make_test_jthread for jthread tests (#68837)Louis Dionne
This patch introduces the support::make_test_jthread utility which is basically the same as support::make_test_thread but for std::jthread. It allows vendors to maintain a downstream way to create threads for use within the test suite, which is especially useful for embedded platforms.
2023-09-16[libc++] Fix potentially flaky test joinable.pass.cppHui
This is a follow up of https://reviews.llvm.org/D151559 Where one test point is potentially falky due to a race condition.
2023-09-16[libc++] implement std::`jthread`Hui