Skip to content

Conversation

melver
Copy link
Contributor

@melver melver commented Aug 27, 2025

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

Follow-up from #152853.

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

Follow-up from llvm#152853.
@melver melver requested a review from rnk August 27, 2025 20:14
@llvmbot llvmbot added the clang Clang issues not falling into any other category label Aug 27, 2025
@llvmbot
Copy link
Member

llvmbot commented Aug 27, 2025

@llvm/pr-subscribers-clang

Author: Marco Elver (melver)

Changes

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

Follow-up from #152853.


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

1 Files Affected:

  • (modified) clang/docs/ReleaseNotes.rst (+4)
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
 ----------------------------------
 

@melver melver requested a review from AaronBallman August 28, 2025 21:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
clang Clang issues not falling into any other category
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants