mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
Inline locationBefore
This commit is contained in:
@@ -21,6 +21,7 @@ predicate multipleCallsToSuperclassMethod(
|
||||
}
|
||||
|
||||
/** Holds if l1 comes before l2, assuming they're in the same file. */
|
||||
pragma[inline]
|
||||
private predicate locationBefore(Location l1, Location l2) {
|
||||
l1.getStartLine() < l2.getStartLine()
|
||||
or
|
||||
|
||||
Reference in New Issue
Block a user