HomePhabricator

[AST] Store the arguments of CXXConstructExpr in a trailing array

Description

[AST] Store the arguments of CXXConstructExpr in a trailing array

Store the arguments of CXXConstructExpr in a trailing array. This is very
similar to the CallExpr case in D55771, with the exception that there is
only one derived class (CXXTemporaryObjectExpr) and that we compute the
offset to the trailing array instead of storing it.

This saves one pointer per CXXConstructExpr and CXXTemporaryObjectExpr.

Reviewed By: rjmccall

Differential Revision: https://reviews.llvm.org/D56022

Details

Committed
brunoricciDec 22 2018, 6:39 AM
Reviewer
rjmccall
Differential Revision
D56022: [AST] Store the arguments of CXXConstructExpr in a trailing array
Branches
Unknown
Tags
Unknown