[PATCH] D39221: [libcxx] [test] Alignment must be > __STDCPP_DEFAULT_NEW_ALIGNMENT__ to call aligned new
Casey Carter via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Oct 23 18:45:28 PDT 2017
CaseyCarter created this revision.
Update aligned `new` tests to use `__STDCPP_DEFAULT_NEW_ALIGNMENT__ * 2` for "over-aligned" instead of `alignof(std::max_align_t) * 2`.
https://reviews.llvm.org/D39221
Files:
test/std/language.support/support.dynamic/new.delete/new.delete.array/delete_align_val_t_replace.pass.cpp
test/std/language.support/support.dynamic/new.delete/new.delete.array/new_align_val_t.pass.cpp
test/std/language.support/support.dynamic/new.delete/new.delete.array/new_align_val_t_nothrow.pass.cpp
test/std/language.support/support.dynamic/new.delete/new.delete.array/new_align_val_t_nothrow_replace.pass.cpp
test/std/language.support/support.dynamic/new.delete/new.delete.array/new_align_val_t_replace.pass.cpp
test/std/language.support/support.dynamic/new.delete/new.delete.single/delete_align_val_t_replace.pass.cpp
test/std/language.support/support.dynamic/new.delete/new.delete.single/new_align_val_t.pass.cpp
test/std/language.support/support.dynamic/new.delete/new.delete.single/new_align_val_t_nothrow.pass.cpp
test/std/language.support/support.dynamic/new.delete/new.delete.single/new_align_val_t_nothrow_replace.pass.cpp
test/std/language.support/support.dynamic/new.delete/new.delete.single/new_align_val_t_replace.pass.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D39221.119990.patch
Type: text/x-patch
Size: 6125 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20171024/13411fc8/attachment.bin>
More information about the cfe-commits
mailing list