summaryrefslogtreecommitdiffstats
path: root/libcxx/src/new.cpp
diff options
context:
space:
mode:
authorLouis Dionne <ldionne@apple.com>2019-03-21 18:19:21 +0000
committerLouis Dionne <ldionne@apple.com>2019-03-21 18:19:21 +0000
commitf0d7d87a4770361186491f1d5a2997ab5d1741b9 (patch)
tree724da9bb34b5c9239fa2c0614dfb7302b5b90c0d /libcxx/src/new.cpp
parentcda7ff9ddcefe0051d173e7c126c679063d29fbb (diff)
downloadbcm5719-llvm-f0d7d87a4770361186491f1d5a2997ab5d1741b9.tar.gz
bcm5719-llvm-f0d7d87a4770361186491f1d5a2997ab5d1741b9.zip
[NFC][libc++] Reindent #ifdefs
I don't understand why we don't always do that. We do it for normal `if`s in the code, but not for preprocessor `if`s? It's a lot more readable when indented properly. llvm-svn: 356693
Diffstat (limited to 'libcxx/src/new.cpp')
-rw-r--r--libcxx/src/new.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/libcxx/src/new.cpp b/libcxx/src/new.cpp
index eb629b36fa3..95b797e7865 100644
--- a/libcxx/src/new.cpp
+++ b/libcxx/src/new.cpp
@@ -12,22 +12,22 @@
#include "include/atomic_support.h"
#if defined(_LIBCPP_ABI_MICROSOFT)
-#if !defined(_LIBCPP_ABI_VCRUNTIME)
-#include "support/runtime/new_handler_fallback.ipp"
-#endif
+# if !defined(_LIBCPP_ABI_VCRUNTIME)
+# include "support/runtime/new_handler_fallback.ipp"
+# endif
#elif defined(LIBCXX_BUILDING_LIBCXXABI)
-#include <cxxabi.h>
+# include <cxxabi.h>
#elif defined(LIBCXXRT)
-#include <cxxabi.h>
-#include "support/runtime/new_handler_fallback.ipp"
+# include <cxxabi.h>
+# include "support/runtime/new_handler_fallback.ipp"
#elif defined(__GLIBCXX__)
-// nothing todo
+ // nothing to do
#else
-# if defined(__APPLE__) && !defined(_LIBCPP_BUILDING_HAS_NO_ABI_LIBRARY)
-# include <cxxabi.h> // FIXME: remove this once buildit is gone.
-# else
-# include "support/runtime/new_handler_fallback.ipp"
-# endif
+# if defined(__APPLE__) && !defined(_LIBCPP_BUILDING_HAS_NO_ABI_LIBRARY)
+# include <cxxabi.h> // FIXME: remove this once buildit is gone.
+# else
+# include "support/runtime/new_handler_fallback.ipp"
+# endif
#endif
namespace std
OpenPOWER on IntegriCloud