aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2015-04-02 16:19:54 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2015-04-02 16:19:54 +0000
commit8adeef963217b0a614cdf93b95b44c58cfc5f2e0 (patch)
tree8535c61d80439e3bf785774489c8042e401733e3 /clang/lib/CodeGen/CodeGenModule.cpp
parent475386d688796883cf52cd9a84a81a5ecda19247 (diff)
downloadllvm-8adeef963217b0a614cdf93b95b44c58cfc5f2e0.zip
llvm-8adeef963217b0a614cdf93b95b44c58cfc5f2e0.tar.gz
llvm-8adeef963217b0a614cdf93b95b44c58cfc5f2e0.tar.bz2
Lower the default alignment on ASTContext's operator new.
It was documented as 8 and operator new[] defaults to 8, but the normal operator new was never updated and happily wasted bytes on every other allocation. We still have to allocate all Types with 16 byte alignment, update the allocation calls for Types that were missing explicit alignment. llvm-svn: 233922
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions