CodeQL library for C/C++
codeql/cpp-all 2.1.1-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)