CodeQL library for C#
codeql/csharp-all 5.1.3-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)