CodeQL library for C/C++
codeql/cpp-all 0.12.5 (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)