]> granicus.if.org Git - clang/commit
[AST] Pack MemberExpr
authorBruno Ricci <riccibrun@gmail.com>
Thu, 15 Nov 2018 13:56:22 +0000 (13:56 +0000)
committerBruno Ricci <riccibrun@gmail.com>
Thu, 15 Nov 2018 13:56:22 +0000 (13:56 +0000)
commit04166176dca81b428c2d6bb30080810a309144f8
treed865d2116ea059fbdd17417ee158d81b59fc4083
parentee95fa569c6a5dae43a9c426a9ade3a065693d54
[AST] Pack MemberExpr

Use the newly available space in the bit-fields of Stmt
to store some data from MemberExpr. This saves
one pointer per MemberExpr.

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

Reviewed By: dblaikie

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@346953 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/Expr.h
include/clang/AST/Stmt.h
lib/AST/Expr.cpp
lib/Serialization/ASTWriterStmt.cpp