We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 811a7d0 + c7ccfac commit 1f4a530Copy full SHA for 1f4a530
cpp/ql/lib/semmle/code/cpp/controlflow/IRGuards.qll
@@ -240,7 +240,7 @@ private class GuardConditionFromIR extends GuardCondition {
240
*/
241
private predicate controlsBlock(BasicBlock controlled, boolean testIsTrue) {
242
exists(IRBlock irb |
243
- forex(IRGuardCondition inst | inst = ir | inst.controls(irb, testIsTrue)) and
+ ir.controls(irb, testIsTrue) and
244
irb.getAnInstruction().getAst().(ControlFlowNode).getBasicBlock() = controlled and
245
not isUnreachedBlock(irb)
246
)
0 commit comments