This is an archive of the discontinued LLVM Phabricator instance.

[AST] Store the expressions in ParenListExpr in a trailing array
AbandonedPublic

Authored by riccibruno on Nov 9 2018, 8:38 AM.

Details

Reviewers
rsmith
shafik
Summary

Use the newly available space in the bit-fields of Stmt, and store
the expressions in ParenListExpr in a trailing array past ParenListExpr.
This saves 2 pointers per ParenListExpr. Additionally remove the branches
in the loop used to set the bits TypeDependent, ValueDependent,
InstantiationDependent and ContainsUnexpandedParameterPack,
and just access the bit-fields once at the end instead of during each iteration.

Diff Detail

Repository
rC Clang