[PATCH] D54161: [AST] Pack DeclRefExpr, UnaryOperator, MemberExpr and BinaryOperator

Bruno Ricci via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 6 10:35:52 PST 2018


riccibruno created this revision.
riccibruno added a reviewer: rsmith.
riccibruno added a project: clang.
Herald added a subscriber: cfe-commits.

Move some data to the newly available space in the bit-fields
of `Stmt`. This cuts the size of `DeclRefExpr`, `UnaryOperator`,
`MemberExpr` and `BinaryOperator` by 1 pointer each.

Also run clang-format on each of these classes.


Repository:
  rC Clang

https://reviews.llvm.org/D54161

Files:
  include/clang/AST/Expr.h
  include/clang/AST/Stmt.h
  lib/AST/Expr.cpp
  lib/Serialization/ASTWriterStmt.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D54161.172794.patch
Type: text/x-patch
Size: 31763 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20181106/8f23f9d9/attachment-0001.bin>


More information about the cfe-commits mailing list