CodeQL library for Swift
codeql/swift-all 3.0.1-dev (changelog, source)
Search

Member predicate Generated::ReturnStmt::getImmediateResult

Gets the result of this return statement, if it exists.

This includes nodes from the “hidden” AST. It can be overridden in subclasses to change the behavior of both the Immediate and non-Immediate versions.

Expr getImmediateResult()