[llvm-branch-commits] [clang] Thread Safety Analysis: Track try-acquired capabilities as a ternary try-held state (PR #220635)

Aaron Puchert via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Sun Nov 15 16:53:02 PST 2026


================
@@ -972,8 +1064,8 @@ namespace {
 class LockableFactEntry final : public FactEntry {
 private:
   /// Reentrancy depth: incremented when a capability has been acquired
-  /// reentrantly (after initial acquisition). Always 0 for non-reentrant
----------------
aaronpuchert wrote:

Why remove the "always 0 for non-reentrant" part? Isn't this still true?

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


More information about the llvm-branch-commits mailing list