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

Member predicate ForStmt::getControllingExpr

Gets the controlling expression of this control structure.

This is the condition of ‘if’ statements and loops, and the switched expression for ‘switch’ statements.

Expr getControllingExpr()