CodeQL library for C/C++
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)