C++: Fixup tests.

This commit is contained in:
Mathias Vorreiter Pedersen
2025-09-17 16:42:15 +01:00
parent 9ed8b75c5d
commit 0b81fbbb2b
5 changed files with 6 additions and 6 deletions

View File

@@ -27,7 +27,7 @@ where
)
)
or
exists(AbstractValue value |
exists(GuardValue value |
guard.comparesLt(left, k, true, value) and op = " < "
or
guard.comparesLt(left, k, false, value) and op = " >= "

View File

@@ -7,6 +7,6 @@
import cpp
import semmle.code.cpp.controlflow.Guards
from GuardCondition guard, AbstractValue value, BasicBlock block
from GuardCondition guard, GuardValue value, BasicBlock block
where guard.valueControls(block, value)
select guard, value, block