mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
This avoids using a raw db type. It is possible for `SuppressionComment` and `SuppressionScope` to have different locations because `SuppressionScope` defines `hasLocationInfo` as a new rootdef whereas `SuppressionComment` only responds to `getLocation` that it inherited. In interpretation of query results, a `hasLocationInfo` predicate is preferred over `getLocation` if it exists.