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 {
404404 // to the caller to enforce this condition.
405405 // Because of the way that `getAThreadContextAwarePredecessor` works, it is possible
406406 // 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
410409 getAThreadContextAwareSuccessor ( unlock ) = this
411410 ) and
412411 ( lock instanceof MutexFunctionCall implies not this .( MutexFunctionCall ) .isUnlock ( ) )
You can’t perform that action at this time.
0 commit comments