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

Predicate Make::Logic::Cached::ImpliesTC::guardControls

Holds if tgtGuard evaluating to tgtVal implies that guard evaluates to v.

Import path

import codeql.controlflow.Guards
predicate guardControls(Guard guard, GuardValue v, Guard tgtGuard, GuardValue tgtVal)