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

Predicate conditionAlwaysTrue

Holds if condition always evaluates to a nonzero value.

Import path

import cpp
predicate conditionAlwaysTrue(Expr condition)