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

Predicate Make::Consistency::deadDef

Holds if a definition cannot reach a read.

Import path

import codeql.ssa.Ssa
predicate deadDef(RelevantDefinition def, SourceVariable v)