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

Predicate Cached::successors_adapted

An adapted version of the successors_extended relation that excludes impossible control-flow edges - flow will never occur along these edges, so it is safe (and indeed sensible) to remove them.

Import path

import semmle.code.cpp.controlflow.internal.ConstantExprs
predicate successors_adapted(Node pred, Node succ)