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

Member predicate RangeBasedForStmt::getCondition

Gets the compiler-generated __begin != __end which is the condition expression of this for statement after desugaring. It will be either an NEExpr or a call to a user-defined operator!=.

Expr getCondition()