diff options
author | Eric Fiselier <eric@efcs.ca> | 2016-11-18 09:54:49 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2016-11-18 09:54:49 +0000 |
commit | e9c9f002d7c6873653d15f185a3956116ac1548f (patch) | |
tree | a2727616a8d92dfb92f88244df0b11b6f42eaa50 /libcxxabi/src/stdexcept.cpp | |
parent | b96e809c7f5e6147fdbdecd728ec0b5bd5d42443 (diff) | |
download | bcm5719-llvm-e9c9f002d7c6873653d15f185a3956116ac1548f.tar.gz bcm5719-llvm-e9c9f002d7c6873653d15f185a3956116ac1548f.zip |
Rename TU names to not conflict with libc++.
In order to easily merge libc++ and libc++abi static archives it's important
that none of the source files share the same name.
(See http://stackoverflow.com/questions/3821916/how-to-merge-two-ar-static-libraries-into-one)
This patch renames source files which share a name with libc++ sources.
llvm-svn: 287327
Diffstat (limited to 'libcxxabi/src/stdexcept.cpp')
-rw-r--r-- | libcxxabi/src/stdexcept.cpp | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/libcxxabi/src/stdexcept.cpp b/libcxxabi/src/stdexcept.cpp deleted file mode 100644 index bd6789ef227..00000000000 --- a/libcxxabi/src/stdexcept.cpp +++ /dev/null @@ -1,48 +0,0 @@ -//===------------------------ stdexcept.cpp -------------------------------===// -// -// The LLVM Compiler Infrastructure -// -// This file is dual licensed under the MIT and the University of Illinois Open -// Source Licenses. See LICENSE.TXT for details. -// -//===----------------------------------------------------------------------===// - -#include "__refstring" -#include "stdexcept" -#include "new" -#include <cstdlib> -#include <cstring> -#include <cstdint> -#include <cstddef> - -static_assert(sizeof(std::__libcpp_refstring) == sizeof(const char *), ""); - -namespace std // purposefully not using versioning namespace -{ - -logic_error::~logic_error() _NOEXCEPT {} - -const char* -logic_error::what() const _NOEXCEPT -{ - return __imp_.c_str(); -} - -runtime_error::~runtime_error() _NOEXCEPT {} - -const char* -runtime_error::what() const _NOEXCEPT -{ - return __imp_.c_str(); -} - -domain_error::~domain_error() _NOEXCEPT {} -invalid_argument::~invalid_argument() _NOEXCEPT {} -length_error::~length_error() _NOEXCEPT {} -out_of_range::~out_of_range() _NOEXCEPT {} - -range_error::~range_error() _NOEXCEPT {} -overflow_error::~overflow_error() _NOEXCEPT {} -underflow_error::~underflow_error() _NOEXCEPT {} - -} // std |