CodeQL library for Go
codeql/go-all 4.3.0 (changelog, source)
Search

Module AlertFilteringImpl

Module for applying alert location filtering.

Import path

import codeql.util.AlertFiltering

Predicates

filterByLocation

Holds if the given location intersects the diff range. When that is the case, ensuring that alerts mentioning this location are included in the query results is a valid overapproximation of the requirements for diff-informed queries as documented under restrictAlertsTo.

Parameters

LocationLocationSig