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

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