diff options
author | Bruno Ricci <riccibrun@gmail.com> | 2019-01-09 15:43:19 +0000 |
---|---|---|
committer | Bruno Ricci <riccibrun@gmail.com> | 2019-01-09 15:43:19 +0000 |
commit | d7628d99935b18aaf013f96e7b2a5c5f80d1b738 (patch) | |
tree | 50756b42102402d5fb26248a186f0808012083b7 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 59e916c214da69a130fe1f594b60f2a6b9ce37b8 (diff) | |
download | llvm-d7628d99935b18aaf013f96e7b2a5c5f80d1b738.zip llvm-d7628d99935b18aaf013f96e7b2a5c5f80d1b738.tar.gz llvm-d7628d99935b18aaf013f96e7b2a5c5f80d1b738.tar.bz2 |
[AST] Store the results in OverloadExpr in a trailing array
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.
Differential Revision: https://reviews.llvm.org/D56368
Reviewed By: rjmccall
llvm-svn: 350732
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions