summaryrefslogtreecommitdiffstats
path: root/libcxx/src
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/src
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/src')
-rw-r--r--libcxx/src/bind.cpp1
-rw-r--r--libcxx/src/memory.cpp1
-rw-r--r--libcxx/src/mutex.cpp1
-rw-r--r--libcxx/src/new.cpp2
-rw-r--r--libcxx/src/shared_mutex.cpp1
-rw-r--r--libcxx/src/system_error.cpp1
-rw-r--r--libcxx/src/utility.cpp1
7 files changed, 0 insertions, 8 deletions
diff --git a/libcxx/src/bind.cpp b/libcxx/src/bind.cpp
index b318fc16979..b4c76ffe6a4 100644
--- a/libcxx/src/bind.cpp
+++ b/libcxx/src/bind.cpp
@@ -7,7 +7,6 @@
//
//===----------------------------------------------------------------------===//
-#define _LIBCPP_BUILDING_BIND
#include "functional"
_LIBCPP_BEGIN_NAMESPACE_STD
diff --git a/libcxx/src/memory.cpp b/libcxx/src/memory.cpp
index 4e0d3af9167..77ebe837c73 100644
--- a/libcxx/src/memory.cpp
+++ b/libcxx/src/memory.cpp
@@ -7,7 +7,6 @@
//
//===----------------------------------------------------------------------===//
-#define _LIBCPP_BUILDING_MEMORY
#include "memory"
#ifndef _LIBCPP_HAS_NO_THREADS
#include "mutex"
diff --git a/libcxx/src/mutex.cpp b/libcxx/src/mutex.cpp
index c36bd5549da..c61d34bb885 100644
--- a/libcxx/src/mutex.cpp
+++ b/libcxx/src/mutex.cpp
@@ -7,7 +7,6 @@
//
//===----------------------------------------------------------------------===//
-#define _LIBCPP_BUILDING_MUTEX
#include "mutex"
#include "limits"
#include "system_error"
diff --git a/libcxx/src/new.cpp b/libcxx/src/new.cpp
index e228a0d83d8..8013d89ae3c 100644
--- a/libcxx/src/new.cpp
+++ b/libcxx/src/new.cpp
@@ -7,8 +7,6 @@
//
//===----------------------------------------------------------------------===//
-#define _LIBCPP_BUILDING_NEW
-
#include <stdlib.h>
#include "new"
diff --git a/libcxx/src/shared_mutex.cpp b/libcxx/src/shared_mutex.cpp
index 874aceb1b03..6185f15deab 100644
--- a/libcxx/src/shared_mutex.cpp
+++ b/libcxx/src/shared_mutex.cpp
@@ -10,7 +10,6 @@
#include "__config"
#ifndef _LIBCPP_HAS_NO_THREADS
-#define _LIBCPP_BUILDING_SHARED_MUTEX
#include "shared_mutex"
_LIBCPP_BEGIN_NAMESPACE_STD
diff --git a/libcxx/src/system_error.cpp b/libcxx/src/system_error.cpp
index 72623ea6bc8..06caa6fecd9 100644
--- a/libcxx/src/system_error.cpp
+++ b/libcxx/src/system_error.cpp
@@ -9,7 +9,6 @@
#include "__config"
-#define _LIBCPP_BUILDING_SYSTEM_ERROR
#include "system_error"
#include "include/config_elast.h"
diff --git a/libcxx/src/utility.cpp b/libcxx/src/utility.cpp
index e9830e7c24f..7dccffb73e5 100644
--- a/libcxx/src/utility.cpp
+++ b/libcxx/src/utility.cpp
@@ -7,7 +7,6 @@
//
//===----------------------------------------------------------------------===//
-#define _LIBCPP_BUILDING_UTILITY
#include "utility"
_LIBCPP_BEGIN_NAMESPACE_STD
OpenPOWER on IntegriCloud