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

Predicate conditionAlwaysFalse

Holds if condition always evaluates to zero.

Import path

import cpp
predicate conditionAlwaysFalse(Expr condition)