[PATCH] D73245: Depend stddef.h to provide max_align_t for C++11 and provide better fallback in <new>

Joerg Sonnenberger via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 25 11:51:54 PST 2020


joerg updated this revision to Diff 246524.
joerg added a comment.

Do not depend on max_align_t in C++03 mode in the test cases.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D73245/new/

https://reviews.llvm.org/D73245

Files:
  libcxx/include/cstddef
  libcxx/include/new
  libcxx/include/stddef.h
  libcxx/test/libcxx/language.support/support.dynamic/libcpp_deallocate.sh.cpp
  libcxx/test/std/containers/sequences/array/array.data/data.pass.cpp
  libcxx/test/std/containers/sequences/array/array.data/data_const.pass.cpp
  libcxx/test/std/containers/sequences/array/size_and_alignment.pass.cpp
  libcxx/test/std/depr/depr.c.headers/stddef_h.pass.cpp
  libcxx/test/std/language.support/support.types/max_align_t.pass.cpp
  libcxx/test/std/utilities/meta/meta.trans/meta.trans.other/aligned_storage.pass.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D73245.246524.patch
Type: text/x-patch
Size: 7945 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200225/e33da636/attachment.bin>


More information about the llvm-commits mailing list