[clang] Thread Safety Analysis: Support passing scoped locks between functions with appropriate annotations (PR #110523)

Aaron Puchert via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 4 09:58:59 PST 2024


================
@@ -336,6 +336,31 @@ Improvements to Clang's diagnostics
   local variables passed to function calls using the ``[[clang::musttail]]``
   attribute.
 
+- The `Thread Safety Analysis <https://clang.llvm.org/docs/ThreadSafetyAnalysis.html>`_ now supports passing scoped capabilities into functions:
----------------
aaronpuchert wrote:

Can you check if this works?
```suggestion
- The :doc:`ThreadSafetyAnalysis` now supports passing scoped capabilities into functions:
```

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


More information about the cfe-commits mailing list