Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 0321696

Browse filesBrowse files
committed
removed unneeded predicate
1 parent 5e446f1 commit 0321696
Copy full SHA for 0321696

File tree

1 file changed

+0
-1
lines changed
Filter options

1 file changed

+0
-1
lines changed

‎cpp/common/src/codingstandards/cpp/rules/preventdeadlockbylockinginpredefinedorder/PreventDeadlockByLockingInPredefinedOrder.qll

Copy file name to clipboardExpand all lines: cpp/common/src/codingstandards/cpp/rules/preventdeadlockbylockinginpredefinedorder/PreventDeadlockByLockingInPredefinedOrder.qll
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ predicate getAnOrderedLockPair(
2525
lock2 = node.coveredByLock() and
2626
not lock1 = lock2 and
2727
lock1.getEnclosingFunction() = lock2.getEnclosingFunction() and
28-
node.(Expr).getEnclosingFunction() = lock1.getEnclosingFunction() and
2928
exists(Location l1Loc, Location l2Loc |
3029
l1Loc = lock1.getLocation() and
3130
l2Loc = lock2.getLocation()

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.