]> granicus.if.org Git - clang/commit
[Sema] Teach Clang that aligned allocation is not supported with macosx10.13
authorLouis Dionne <ldionne@apple.com>
Tue, 8 Jan 2019 20:26:56 +0000 (20:26 +0000)
committerLouis Dionne <ldionne@apple.com>
Tue, 8 Jan 2019 20:26:56 +0000 (20:26 +0000)
commitdb6158cc4b9ec43fc9a6c46a65461f1a4338a999
treecf4214f67244ee12529b6c70487fb979709b8433
parent3b7841f9358527f31acc805a7f9565350cd62afd
[Sema] Teach Clang that aligned allocation is not supported with macosx10.13

Summary:
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.

Reviewers: ahatanak

Subscribers: christof, jkorous, dexonsmith, cfe-commits

Differential Revision: https://reviews.llvm.org/D56445

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@350649 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/AlignedAllocation.h
test/Driver/unavailable_aligned_allocation.cpp
test/SemaCXX/unavailable_aligned_allocation.cpp