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

Predicate validCheckExpr

Holds if var is non-null when checkExpr evaluates to a true value.

Import path

import cpp
predicate validCheckExpr(Expr checkExpr, Variable var)