[clang] [Clang] Update ReleaseNotes with ThreadSafetyAnalysis changes (PR #155687)
Marco Elver via cfe-commits
cfe-commits at lists.llvm.org
Wed Aug 27 13:14:47 PDT 2025
https://github.com/melver created https://github.com/llvm/llvm-project/pull/155687
Note that ACQUIRED_BEFORE(...) and ACQUIRED_AFTER(...) no longer require -Wthread-safety-beta.
Follow-up from https://github.com/llvm/llvm-project/pull/152853.
>From da13dc026b2ab9fda09ec0ca6ed91672de3a5737 Mon Sep 17 00:00:00 2001
From: Marco Elver <elver at google.com>
Date: Wed, 27 Aug 2025 22:11:49 +0200
Subject: [PATCH] [Clang] Update ReleaseNotes with ThreadSafetyAnalysis changes
Note that ACQUIRED_BEFORE(...) and ACQUIRED_AFTER(...) no longer require
-Wthread-safety-beta.
Follow-up from https://github.com/llvm/llvm-project/pull/152853.
---
clang/docs/ReleaseNotes.rst | 4 ++++
1 file changed, 4 insertions(+)
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
----------------------------------
More information about the cfe-commits
mailing list