llvm-project
75fd1ca4 - Thread Safety Analysis: Handle statement expressions in try-lock conditions (#209330)

Commit
8 days ago
Thread Safety Analysis: Handle statement expressions in try-lock conditions (#209330) Previously, statement expressions (`({ bool b = mu.TryLock(); b; })`) used as try-lock conditions were not supported. Handle StmtExpr in getTrylockCallExpr() by recursively analyzing the last statement of the statement expression.
Author
Parents
Loading