diff options
author | Eric Fiselier <eric@efcs.ca> | 2019-04-30 18:44:45 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2019-04-30 18:44:45 +0000 |
commit | 71aa67506b94a299843a6123009d2677ffe329d2 (patch) | |
tree | 071754d10774efcd1d71530aeb381764c687de5e /llvm/lib | |
parent | ea349f3ef592c053272ff0053c60eca704028e6e (diff) | |
download | bcm5719-llvm-71aa67506b94a299843a6123009d2677ffe329d2.tar.gz bcm5719-llvm-71aa67506b94a299843a6123009d2677ffe329d2.zip |
Support overaligned types in `aligned_storage`.
Summary:
The current implementation of aligned storage was written before we had `alignas`, so it used a list of builtin types to force the alignment. But this doesn't work overaligned requests.
This patch adds a fallback case supporting over-alignment. It only affects case that were previously ill-formed.
Reviewers: rsmith, ldionne, dlj, mclow.lists
Reviewed By: mclow.lists
Subscribers: mclow.lists, dexonsmith, libcxx-commits
Differential Revision: https://reviews.llvm.org/D61301
llvm-svn: 359596
Diffstat (limited to 'llvm/lib')
0 files changed, 0 insertions, 0 deletions