[PATCH] D54525: [AST] Pack MemberExpr

Bruno Ricci via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 14 05:59:36 PST 2018


riccibruno created this revision.
riccibruno added a reviewer: dblaikie.
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 `MemberExpr`. This saves
one pointer per `MemberExpr`.


Repository:
  rC Clang

https://reviews.llvm.org/D54525

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: D54525.174026.patch
Type: text/x-patch
Size: 10572 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20181114/caa46509/attachment.bin>


More information about the cfe-commits mailing list