summaryrefslogtreecommitdiffstats
path: root/libcxx/src
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2014-11-01 00:11:25 +0000
committerEric Fiselier <eric@efcs.ca>2014-11-01 00:11:25 +0000
commit1d558b84efb91471b9257cb093c7f59a97ddc3d5 (patch)
tree5765d11982c75b0360cc5428f93fa3deadb81806 /libcxx/src
parent3872d0084c4f479020ce01b4db5d1bd414c57fb8 (diff)
downloadbcm5719-llvm-1d558b84efb91471b9257cb093c7f59a97ddc3d5.tar.gz
bcm5719-llvm-1d558b84efb91471b9257cb093c7f59a97ddc3d5.zip
libcxxrt defines bad_array_new_length::what() so move that into a conditional compilation block
llvm-svn: 221025
Diffstat (limited to 'libcxx/src')
-rw-r--r--libcxx/src/new.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/libcxx/src/new.cpp b/libcxx/src/new.cpp
index 2fb6e7fa8a4..2b37601cb18 100644
--- a/libcxx/src/new.cpp
+++ b/libcxx/src/new.cpp
@@ -200,6 +200,12 @@ bad_array_new_length::~bad_array_new_length() _NOEXCEPT
{
}
+const char*
+bad_array_new_length::what() const _NOEXCEPT
+{
+ return "bad_array_new_length";
+}
+
#endif //LIBCXXRT
const char*
@@ -216,12 +222,6 @@ bad_array_length::~bad_array_length() _NOEXCEPT
{
}
-const char*
-bad_array_new_length::what() const _NOEXCEPT
-{
- return "bad_array_new_length";
-}
-
#endif // _LIBCPPABI_VERSION
#ifndef LIBSTDCXX
OpenPOWER on IntegriCloud