CodeQL library for C/C++
codeql/cpp-all 0.12.7-dev (changelog, source)
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)