[PATCH] D56368: [AST] Store the results in OverloadExpr in a trailing array
Bruno Ricci via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sun Jan 6 15:06:08 PST 2019
riccibruno created this revision.
riccibruno added a reviewer: rjmccall.
riccibruno added a project: clang.
Herald added a subscriber: cfe-commits.
Use the newly available space in the bit-fields of `Stmt` to pack
`OverloadExpr`, `UnresolvedLookupExpr` and `UnresolvedMemberExpr`.
Additionally store the results in the overload set in a trailing array.
This saves 1 pointer + 8 bytes per `UnresolvedLookupExpr` and `UnresolvedMemberExpr`.
Repository:
rC Clang
https://reviews.llvm.org/D56368
Files:
include/clang/AST/ExprCXX.h
include/clang/AST/Stmt.h
lib/AST/ExprCXX.cpp
lib/Serialization/ASTReaderStmt.cpp
lib/Serialization/ASTWriterStmt.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D56368.180416.patch
Type: text/x-patch
Size: 44015 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190106/ed6a3f89/attachment-0001.bin>
More information about the cfe-commits
mailing list