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

Member predicate StmtExpr::getResultExpr

Gets the result expression of the enclosed statement. For example, a+b is the result expression in this example:

x = ({ dosomething(); a+b; });
Expr getResultExpr()