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