This is an archive of the discontinued LLVM Phabricator instance.

[AST] Only store data for the NRVO candidate in ReturnStmt if needed.
ClosedPublic

Authored by riccibruno on Oct 25 2018, 10:18 AM.

Details

Summary

Only store the NRVO candidate if needed in ReturnStmt.
A good chuck of all of the ReturnStmt have no NRVO candidate.
For all of them this saves one pointer.

This has no impact on children().

Diff Detail

Repository
rC Clang