[clang] Thread Safety Analysis: Support reentrant capabilities (PR #137133)

Marco Elver via cfe-commits cfe-commits at lists.llvm.org
Fri May 9 12:47:12 PDT 2025


melver wrote:

Thanks for the feedback. Addressed comments as best as I could.

Most notable changes:
- Also warns properly for loops with mismatching reentrancy depth.
- Devirtualized new helpers.
- Require ordering `reentrant_capability` after `capability`.
- Stylistic improvements.

PTAL.

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


More information about the cfe-commits mailing list