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

Member predicate Make::PreGuard::hasValueBranchEdge

Holds if this guard evaluating to v corresponds to taking the edge from bb1 to bb2. For ordinary conditional branching this guard is the last node in bb1, but for switch case matching it is the switch expression, which may either be in bb1 or an earlier basic block.

predicate hasValueBranchEdge(BasicBlock bb1, BasicBlock bb2, GuardValue v)