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