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

Member predicate ExprStmt::getExpr

Gets the expression of this ‘expression’ statement.

For example, for

x = 1;

the result would be an AssignExpr.

Expr getExpr()