[all-commits] [llvm/llvm-project] 22f8ce: [libc++] Add the thread safety annotations uncondi...
Nikolas Klauser via All-commits
all-commits at lists.llvm.org
Sat Jul 5 09:07:29 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 22f8ceded4e1c20e6113049bfceec4a8b56b92a5
https://github.com/llvm/llvm-project/commit/22f8ceded4e1c20e6113049bfceec4a8b56b92a5
Author: Nikolas Klauser <nikolasklauser at berlin.de>
Date: 2025-07-05 (Sat, 05 Jul 2025)
Changed paths:
M libcxx/.clang-format
M libcxx/docs/UserDocumentation.rst
M libcxx/include/__config
M libcxx/include/__mutex/lock_guard.h
M libcxx/include/__mutex/mutex.h
M libcxx/include/mutex
M libcxx/include/shared_mutex
M libcxx/test/libcxx/thread/thread.mutex/thread_safety_annotations_not_enabled.pass.cpp
M libcxx/test/libcxx/thread/thread.mutex/thread_safety_lock_guard.pass.cpp
M libcxx/test/libcxx/thread/thread.mutex/thread_safety_lock_unlock.pass.cpp
M libcxx/test/libcxx/thread/thread.mutex/thread_safety_missing_unlock.verify.cpp
M libcxx/test/libcxx/thread/thread.mutex/thread_safety_requires_capability.pass.cpp
M libcxx/test/libcxx/thread/thread.shared_mutex/thread_safety.verify.cpp
M libcxx/test/libcxx/thread/thread.shared_timed_mutex/thread_safety.verify.cpp
M libcxx/utils/libcxx/test/features.py
Log Message:
-----------
[libc++] Add the thread safety annotations unconditionally (#117497)
For these annotations to do anything you need `-Wthread-safety`, in
which case users most likely enable them anyways. This avoids that users
have to explictly define a macro just to use the feature they already
had to opt-in to.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list