CodeQL library for Swift
codeql/swift-all 2.0.4-dev (changelog, source)
Search

Predicate Make::SsaDefReaches::lastSsaRefExt

Holds if the reference to def at index i in basic block bb is the last reference to v inside bb.

Import path

import codeql.ssa.Ssa
predicate lastSsaRefExt(DefinitionExt def, SourceVariable v, BasicBlock bb, int i)