[PATCH] D12247: [libc++] remove possible trailing padding from aligned_storage

Yiran Wang via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 1 11:24:49 PDT 2015


yiranwang added a comment.

Thanks for testing.
There is proof as the following, given that alignment of _Aligner is _Align (the whole purpose of _Aligner here, which we do not want to double check), and for any type, the "sizeof" is always multiple of "alignof", this change should be ABI compatible.
Are we good to go?


http://reviews.llvm.org/D12247





More information about the cfe-commits mailing list