CodeQL library for C/C++
Search

Predicate directionIsLesser

Holds if dir is Lesser (that is, a < or <= relation)

Import path

import semmle.code.cpp.rangeanalysis.RangeAnalysisUtils
boolean directionIsLesser(RelationDirection dir)