HomePhabricator

[AST] Store the results in OverloadExpr in a trailing array

Description

[AST] Store the results in OverloadExpr in a trailing array

Use the newly available space in the bit-fields of Stmt to pack
OverloadExpr, UnresolvedLookupExpr and UnresolvedMemberExpr.

Additionally store the results in the overload set in a trailing array.
This saves 1 pointer + 8 bytes per UnresolvedLookupExpr and
UnresolvedMemberExpr.

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

Reviewed By: rjmccall

Details

Committed
brunoricciJan 9 2019, 7:43 AM
Reviewer
rjmccall
Differential Revision
D56368: [AST] Store the results in OverloadExpr in a trailing array
Parents
rL350731: [DEBUGINFO][NVPTX]Make tests more strict, NFC.
Branches
Unknown
Tags
Unknown