CodeQL library for C/C++
codeql/cpp-all 4.0.4-dev (changelog, source)
Search

Predicate Make::Consistency::uselessPhiNode

Holds if a phi node has less than two inputs.

Import path

import codeql.ssa.Ssa
predicate uselessPhiNode(PhiNode phi, int inputs)