[PATCH] D26825: [libc++] Fix preprocessor guard for overload declaration

Shoaib Meenai via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 17 20:41:09 PST 2016


This revision was automatically updated to reflect the committed changes.
Closed by commit rL287309: [libc++] Fix preprocessor guard for overload declaration (authored by smeenai).

Changed prior to commit:
  https://reviews.llvm.org/D26825?vs=78447&id=78461#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D26825

Files:
  libcxx/trunk/include/new


Index: libcxx/trunk/include/new
===================================================================
--- libcxx/trunk/include/new
+++ libcxx/trunk/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.78461.patch
Type: text/x-patch
Size: 654 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20161118/cb74580a/attachment.bin>


More information about the cfe-commits mailing list