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