summaryrefslogtreecommitdiffstats
path: root/libcxx/include/new
diff options
context:
space:
mode:
authorShoaib Meenai <smeenai@fb.com>2016-11-18 04:31:09 +0000
committerShoaib Meenai <smeenai@fb.com>2016-11-18 04:31:09 +0000
commiteb72bbfad4ad600cf97687e9635218dd2e04f673 (patch)
treefafcb6d855b5e09f3df7be4f258f7e5ec0bc6940 /libcxx/include/new
parent70a38092fd32b4e6417ec2f4d44b2c7fe79e8a38 (diff)
downloadbcm5719-llvm-eb72bbfad4ad600cf97687e9635218dd2e04f673.tar.gz
bcm5719-llvm-eb72bbfad4ad600cf97687e9635218dd2e04f673.zip
[libc++] Fix preprocessor guard for overload declaration
Fix a typo in the conditional. Caught by going through list of removed symbols when building with hidden visibility. Differential Revision: https://reviews.llvm.org/D26825 llvm-svn: 287309
Diffstat (limited to 'libcxx/include/new')
-rw-r--r--libcxx/include/new2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/include/new b/libcxx/include/new
index 96e5b8ed520..6b432f231bf 100644
--- a/libcxx/include/new
+++ b/libcxx/include/new
@@ -180,7 +180,7 @@ _LIBCPP_OVERRIDABLE_FUNC_VIS void* operator new[](std::size_t __sz) _THROW_BAD_A
_LIBCPP_OVERRIDABLE_FUNC_VIS void* operator new[](std::size_t __sz, const std::nothrow_t&) _NOEXCEPT _NOALIAS;
_LIBCPP_OVERRIDABLE_FUNC_VIS void operator delete[](void* __p) _NOEXCEPT;
_LIBCPP_OVERRIDABLE_FUNC_VIS void operator delete[](void* __p, const std::nothrow_t&) _NOEXCEPT;
-#ifdef _LIBCPP_HAS_NO_SIZED_DEALLOCATION
+#ifndef _LIBCPP_HAS_NO_SIZED_DEALLOCATION
_LIBCPP_OVERRIDABLE_FUNC_VIS void operator delete[](void* __p, std::size_t __sz) _NOEXCEPT;
#endif
OpenPOWER on IntegriCloud