This one's new, the analyzer didn't enjoy this before. This patch adds construction context for ReturnStmt, which means that we'd be able to properly return objects from functions by value.
This is the CFG part of the work, the Analyzer-side improvement to make use of it will be in the next patch.