mirror of
https://github.com/github/codeql.git
synced 2026-04-26 17:25:19 +02:00
simplify multiple parameter selection
This commit is contained in:
@@ -113,7 +113,7 @@ module Typeahead {
|
||||
override predicate step(DataFlow::Node pred, DataFlow::Node succ) {
|
||||
pred = this
|
||||
.getAFunctionValue()
|
||||
.getParameter(any(int i | i = 1 or i = 2))
|
||||
.getParameter([1..2])
|
||||
.getACall()
|
||||
.getAnArgument() and
|
||||
succ = successor
|
||||
|
||||
Reference in New Issue
Block a user