CodeQL library for C/C++
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)