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

Member predicate ReturnStmt::getExpr

Gets the expression of this ‘return’ statement.

For example, for

return 1+2;

the result is 1+2, and there is no result for

return;
Expr getExpr()