mirror of
https://github.com/github/codeql.git
synced 2026-04-29 10:45:15 +02:00
Java: Replace getAFirstUse with top-level predicate.
This commit is contained in:
@@ -279,7 +279,7 @@ private module SinkModelGeneratorInput implements SinkModelGeneratorInputSig {
|
||||
// exclude variable capture jump steps
|
||||
exists(Ssa::SsaImplicitInit closure |
|
||||
closure.captures(_) and
|
||||
node.asExpr() = closure.getAFirstUse()
|
||||
node.asExpr() = Ssa::ssaGetAFirstUse(closure)
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user