[libc++] Build the dylib with C++17 to allow aligned new/delete
authorLouis Dionne <ldionne@apple.com>
Wed, 22 Apr 2020 15:15:05 +0000 (11:15 -0400)
committerLouis Dionne <ldionne@apple.com>
Wed, 22 Jul 2020 18:47:29 +0000 (14:47 -0400)
commite58660750e76fa36c62d6b515da291d0ffa53e2b
treed7142b0ce84cc632d9c7edb97663e0464832ee79
parentf3e667bf86f482ad7c27327ce8ca040dee296d0e
[libc++] Build the dylib with C++17 to allow aligned new/delete

This allows simplifying the implementation of barriers.

This is a re-commit of 1ac403bd145d, which had to be reverted in
64a9c944fc45 because the minimum CMake version wasn't high enough.
Now that we've upgraded, we can do this.

Differential Revision: https://reviews.llvm.org/D75243
libcxx/CMakeLists.txt
libcxx/src/barrier.cpp