[clang] [Clang] Update ReleaseNotes with ThreadSafetyAnalysis changes (PR #155687)

via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 27 13:15:18 PDT 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-clang

Author: Marco Elver (melver)

<details>
<summary>Changes</summary>

Note that ACQUIRED_BEFORE(...) and ACQUIRED_AFTER(...) no longer require -Wthread-safety-beta.

Follow-up from https://github.com/llvm/llvm-project/pull/152853.

---
Full diff: https://github.com/llvm/llvm-project/pull/155687.diff


1 Files Affected:

- (modified) clang/docs/ReleaseNotes.rst (+4) 


``````````diff
diff --git a/clang/docs/ReleaseNotes.rst b/clang/docs/ReleaseNotes.rst
index 3ad9e566a5d93..154c5e6e58108 100644
--- a/clang/docs/ReleaseNotes.rst
+++ b/clang/docs/ReleaseNotes.rst
@@ -246,6 +246,10 @@ Improvements to Clang's diagnostics
   decorated with the ``alloc_size`` attribute don't allocate enough space for
   the target pointer type.
 
+- The :doc:`ThreadSafetyAnalysis` attributes ``ACQUIRED_BEFORE(...)`` and
+  ``ACQUIRED_AFTER(...)`` have been moved to the stable feature set and no
+  longer require ``-Wthread-safety-beta`` to be used.
+
 Improvements to Clang's time-trace
 ----------------------------------
 

``````````

</details>


https://github.com/llvm/llvm-project/pull/155687


More information about the cfe-commits mailing list