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

Predicate signature SignAnalysisSig::semNegative

Holds if e can be negative and cannot be positive.

signature predicate semNegative(Expr e)