summaryrefslogtreecommitdiffstats
path: root/libcxx/include/new
diff options
context:
space:
mode:
authorLouis Dionne <ldionne@apple.com>2018-08-01 02:08:59 +0000
committerLouis Dionne <ldionne@apple.com>2018-08-01 02:08:59 +0000
commitc8e84ff25115ed0da2d6e3a81eac40712b467258 (patch)
treea68a8e35631c12c29ce1b5f6bd1f247a85960513 /libcxx/include/new
parentb21b479653fdd3adc350c15f1ee69b078f717024 (diff)
downloadbcm5719-llvm-c8e84ff25115ed0da2d6e3a81eac40712b467258.tar.gz
bcm5719-llvm-c8e84ff25115ed0da2d6e3a81eac40712b467258.zip
[libc++] Remove _LIBCPP_BUILDING_XXX macros, which are redundant since _LIBCPP_BUILDING_LIBRARY
Summary: As suggested by Marshall in https://reviews.llvm.org/D49914 Reviewers: mclow.lists, EricWF Subscribers: christof, dexonsmith, cfe-commits Differential Revision: https://reviews.llvm.org/D50008 llvm-svn: 338475
Diffstat (limited to 'libcxx/include/new')
-rw-r--r--libcxx/include/new6
1 files changed, 3 insertions, 3 deletions
diff --git a/libcxx/include/new b/libcxx/include/new
index b5dc05542b5..e70b9c62157 100644
--- a/libcxx/include/new
+++ b/libcxx/include/new
@@ -103,13 +103,13 @@ void operator delete[](void* ptr, void*) noexcept;
#pragma GCC system_header
#endif
-#if !(defined(_LIBCPP_BUILDING_NEW) || _LIBCPP_STD_VER >= 14 || \
+#if !(defined(_LIBCPP_BUILDING_LIBRARY) || _LIBCPP_STD_VER >= 14 || \
(defined(__cpp_sized_deallocation) && __cpp_sized_deallocation >= 201309))
# define _LIBCPP_HAS_NO_SIZED_DEALLOCATION
#endif
#if !defined(_LIBCPP_HAS_NO_ALIGNED_ALLOCATION) && \
- (!(defined(_LIBCPP_BUILDING_NEW) || _LIBCPP_STD_VER > 14 || \
+ (!(defined(_LIBCPP_BUILDING_LIBRARY) || _LIBCPP_STD_VER > 14 || \
(defined(__cpp_aligned_new) && __cpp_aligned_new >= 201606)))
# define _LIBCPP_HAS_NO_ALIGNED_ALLOCATION
#endif
@@ -167,7 +167,7 @@ public:
#define _LIBCPP_BAD_ARRAY_LENGTH_DEFINED
-#endif // defined(_LIBCPP_BUILDING_NEW) || (_LIBCPP_STD_VER > 11)
+#endif // defined(_LIBCPP_BUILDING_LIBRARY) || (_LIBCPP_STD_VER > 11)
#if !defined(_LIBCPP_ABI_MICROSOFT) || defined(_LIBCPP_NO_VCRUNTIME)
#if !defined(_LIBCPP_HAS_NO_ALIGNED_ALLOCATION) || _LIBCPP_STD_VER > 14
OpenPOWER on IntegriCloud