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

Predicate signature SignAnalysisSig::semNegative

Holds if e can be negative and cannot be positive.

signature predicate semNegative(Expr e)