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