File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
cpp/common/src/codingstandards/cpp Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -404,9 +404,8 @@ class LockProtectedControlFlowNode extends ThreadedCFN {
404
404
// to the caller to enforce this condition.
405
405
// Because of the way that `getAThreadContextAwarePredecessor` works, it is possible
406
406
// for operations PAST it to be technically part of the predecessors.
407
- // Thus, we need to make sure that this lock (to be actually)
408
- // an unlock along the same path it must be the case that when we
409
- // supply it as the starting point of the search it hits the try lock
407
+ // Thus, we need to make sure that this node is a
408
+ // successor of the unlock in the CFG
410
409
getAThreadContextAwareSuccessor ( unlock ) = this
411
410
) and
412
411
( lock instanceof MutexFunctionCall implies not this .( MutexFunctionCall ) .isUnlock ( ) )
You can’t perform that action at this time.
0 commit comments