CodeQL library for C/C++
codeql/cpp-all 1.1.2-dev (changelog, source)
Search

Predicate directionIsGreater

Holds if dir is Greater (that is, a > or >= relation)

Import path

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