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