CodeQL library for C/C++
codeql/cpp-all 2.1.1-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)