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().
Paths
| Differential D53716
[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. This has no impact on children().
Diff Detail
Event Timelinericcibruno added a parent revision: D53715: [AST] Only store the needed data in WhileStmt..Oct 25 2018, 10:19 AM riccibruno added a child revision: D53717: [AST] Only store the needed data in ForStmt..Oct 25 2018, 10:37 AM This revision is now accepted and ready to land.Oct 25 2018, 11:32 AM Closed by commit rL345605: [AST] Only store data for the NRVO candidate in ReturnStmt if needed (authored by brunoricci). · Explain WhyOct 30 2018, 7:43 AM This revision was automatically updated to reflect the committed changes. Closed by commit rC345605: [AST] Only store data for the NRVO candidate in ReturnStmt if needed (authored by brunoricci). · Explain WhyOct 30 2018, 7:43 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 171694 cfe/trunk/include/clang/AST/Stmt.h
cfe/trunk/lib/AST/ASTImporter.cpp
cfe/trunk/lib/AST/Stmt.cpp
cfe/trunk/lib/Analysis/BodyFarm.cpp
cfe/trunk/lib/CodeGen/CGObjC.cpp
cfe/trunk/lib/Sema/SemaStmt.cpp
cfe/trunk/lib/Serialization/ASTReaderStmt.cpp
cfe/trunk/lib/Serialization/ASTWriterStmt.cpp
|