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

Member predicate RangeBasedForStmt::getUpdate

Gets the compiler-generated ++__begin which is the update expression of this for statement after desugaring. It will be either a PrefixIncrExpr or a call to a user-defined operator++.

Expr getUpdate()