[libcxx] r344214 - Fix use of removed _LIBCPP_HAS_NO_BUILTIN_ALIGNED_OPERATOR_NEW_DELETE
Eric Fiselier
eric at efcs.ca
Wed Oct 10 18:48:00 PDT 2018
Author: ericwf
Date: Wed Oct 10 18:48:00 2018
New Revision: 344214
URL: http://llvm.org/viewvc/llvm-project?rev=344214&view=rev
Log:
Fix use of removed _LIBCPP_HAS_NO_BUILTIN_ALIGNED_OPERATOR_NEW_DELETE
It was replaced with the better named
_LIBCPP_HAS_NO_BUILTIN_OVERLOADED_OPERATOR_NEW_DELETE.
Modified:
libcxx/trunk/include/new
Modified: libcxx/trunk/include/new
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/new?rev=344214&r1=344213&r2=344214&view=diff
==============================================================================
--- libcxx/trunk/include/new (original)
+++ libcxx/trunk/include/new Wed Oct 10 18:48:00 2018
@@ -239,7 +239,7 @@ inline _LIBCPP_INLINE_VISIBILITY void *_
#ifndef _LIBCPP_HAS_NO_ALIGNED_ALLOCATION
if (__is_overaligned_for_new(__align)) {
const align_val_t __align_val = static_cast<align_val_t>(__align);
-# ifdef _LIBCPP_HAS_NO_BUILTIN_ALIGNED_OPERATOR_NEW_DELETE
+# ifdef _LIBCPP_HAS_NO_BUILTIN_OVERLOADED_OPERATOR_NEW_DELETE
return ::operator new(__size, __align_val);
# else
return __builtin_operator_new(__size, __align_val);
More information about the libcxx-commits
mailing list