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

Predicate Make::adjacentDefRead

NB: If this predicate is exposed, it should be cached.

Same as adjacentDefReadExt, but ignores phi-reads.

Import path

import codeql.ssa.Ssa
predicate adjacentDefRead(Definition def, BasicBlock bb1, int i1, BasicBlock bb2, int i2)