Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
CodeQL library for JavaScript/TypeScript
codeql/javascript-all 2.6.3 (changelog, source)

Predicate Make::TestAdjacentRefs::adjacentRefPhi

Holds if phi is a phi definition or phi read and input is one its inputs without any other reference in-between.

Import path

import codeql.ssa.Ssa
predicate adjacentRefPhi(Ref input, Ref phi)