CodeQL library for C/C++
Search

Member predicate IRGuardCondition::comparesLt

Holds if (determined by this guard) left < right + k evaluates to isLessThan if this expression evaluates to testIsTrue.

predicate comparesLt(Operand left, Operand right, int k, boolean isLessThan, boolean testIsTrue)