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

Member predicate AnalysedExpr::isNullCheck

Holds if v is null when this expression evaluates to a true value.

predicate isNullCheck(LocalScopeVariable v)