[PATCH] D54325: [AST] Pack CXXBoolLiteralExpr, CXXNullPtrLiteralExpr and CXXThisExpr

Bruno Ricci via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 9 08:56:09 PST 2018


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

Use the newly available space in the bit-fields of `Stmt` to
store some data from `CXXBoolLiteralExpr`, `CXXNullPtrLiteralExpr`
and `CXXThisExpr`.

This cuts the size of each of these classes by 1 pointer.


Repository:
  rC Clang

https://reviews.llvm.org/D54325

Files:
  include/clang/AST/ExprCXX.h
  include/clang/AST/Stmt.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D54325.173356.patch
Type: text/x-patch
Size: 8594 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20181109/3629bebd/attachment.bin>


More information about the cfe-commits mailing list