[PATCH] D26825: [libc++] Fix preprocessor guard for overload declaration
Shoaib Meenai via cfe-commits
cfe-commits at lists.llvm.org
Thu Nov 17 18:05:58 PST 2016
smeenai created this revision.
smeenai added reviewers: mclow.lists, EricWF.
smeenai added a subscriber: cfe-commits.
Fix a typo in the conditional. Caught by going through list of removed
symbols when building with hidden visibility.
https://reviews.llvm.org/D26825
Files:
include/new
Index: include/new
===================================================================
--- include/new
+++ include/new
@@ -180,7 +180,7 @@
_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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D26825.78447.patch
Type: text/x-patch
Size: 615 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20161118/de4ec203/attachment.bin>
More information about the cfe-commits
mailing list