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

Member predicate IR::FieldTarget::refersTo

Holds if e is the variable or field being written to.

predicate refersTo(ValueEntity e)