[libc++][CMake] Remove unnecessary conditional for defining new handlers
authorLouis Dionne <ldionne@apple.com>
Wed, 17 Apr 2019 21:57:49 +0000 (21:57 +0000)
committerLouis Dionne <ldionne@apple.com>
Wed, 17 Apr 2019 21:57:49 +0000 (21:57 +0000)
commita4bd340bf5015169a7dcdff013f018a9338610c1
tree193f7499bfcb0f6f72e5411b46ade792f9d7bc7f
parente3b5eba1bad14be1abd1b4dbba12996e2726fdf0
[libc++][CMake] Remove unnecessary conditional for defining new handlers

It turns out that whether the new handlers should be provided is orthogonal
to whether new/delete are provided in libc++ or libc++abi. The reason why
I initially added this conditional is because of an incorrect understanding
of the path we're taking when building on Apple platforms. In fact, we
always build libc++ on top of libc++abi on Apple platforms, so we take
the branch for `LIBCXX_BUILDING_LIBCXXABI` there.

llvm-svn: 358616
libcxx/src/new.cpp