[PATCH] D56445: [Sema] Teach Clang that aligned allocation is not supported with macosx10.13

Louis Dionne via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 8 09:46:08 PST 2019


ldionne created this revision.
ldionne added a reviewer: ahatanak.
Herald added subscribers: cfe-commits, dexonsmith, jkorous, christof.

r306722 added diagnostics when aligned allocation is used with deployment
targets that do not support it, but the first macosx supporting aligned
allocation was incorrectly set to 10.13. In reality, the dylib shipped
with macosx10.13 does not support aligned allocation, but the dylib
shipped with macosx10.14 does.


Repository:
  rC Clang

https://reviews.llvm.org/D56445

Files:
  clang/include/clang/Basic/AlignedAllocation.h
  clang/test/Driver/unavailable_aligned_allocation.cpp
  clang/test/SemaCXX/unavailable_aligned_allocation.cpp
  libcxx/test/libcxx/language.support/support.dynamic/libcpp_deallocate.sh.cpp
  libcxx/test/libcxx/memory/aligned_allocation_macro.pass.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D56445.180688.patch
Type: text/x-patch
Size: 7257 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190108/f45140a0/attachment.bin>


More information about the cfe-commits mailing list