CodeQL library for Rust
codeql/rust-all 0.1.19-dev (changelog, source)
Search

Predicate AlertFilteringImpl::locationIsInDiff

Like filterByLocation, except that if there is no diff range, this predicate never holds.

Import path

import codeql.util.AlertFiltering
predicate locationIsInDiff(Location location)