CodeQL library for JavaScript/TypeScript
codeql/javascript-all 2.5.2-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)