[libcxx] r287309 - [libc++] Fix preprocessor guard for overload declaration
Shoaib Meenai via cfe-commits
cfe-commits at lists.llvm.org
Thu Nov 17 20:31:09 PST 2016
Author: smeenai
Date: Thu Nov 17 22:31:09 2016
New Revision: 287309
URL: http://llvm.org/viewvc/llvm-project?rev=287309&view=rev
Log:
[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
Modified:
libcxx/trunk/include/new
Modified: libcxx/trunk/include/new
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/new?rev=287309&r1=287308&r2=287309&view=diff
==============================================================================
--- libcxx/trunk/include/new (original)
+++ libcxx/trunk/include/new Thu Nov 17 22:31:09 2016
@@ -180,7 +180,7 @@ _LIBCPP_OVERRIDABLE_FUNC_VIS void* opera
_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
More information about the cfe-commits
mailing list