Skip to content

Commit 2c93e2c

Browse files
Inline locationBefore
1 parent f5066c7 commit 2c93e2c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

python/ql/src/Classes/CallsToInitDel/MethodCallOrder.qll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ predicate multipleCallsToSuperclassMethod(
2121
}
2222

2323
/** Holds if l1 comes before l2, assuming they're in the same file. */
24+
pragma[inline]
2425
private predicate locationBefore(Location l1, Location l2) {
2526
l1.getStartLine() < l2.getStartLine()
2627
or

0 commit comments

Comments
 (0)