CodeQL library for C/C++
Search

Member predicate RangeBasedForStmt::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()