diff options
author | Louis Dionne <ldionne@apple.com> | 2018-11-29 19:44:57 +0000 |
---|---|---|
committer | Louis Dionne <ldionne@apple.com> | 2018-11-29 19:44:57 +0000 |
commit | e823b6d7e616b8338b5c2690f0e15e8b1b10b1c7 (patch) | |
tree | d663a37b97064e97f782210811fb9b91294a84c5 /libcxx/src | |
parent | 129d529ab3e9ce9841b36541ecbf127a89248cfc (diff) | |
download | bcm5719-llvm-e823b6d7e616b8338b5c2690f0e15e8b1b10b1c7.tar.gz bcm5719-llvm-e823b6d7e616b8338b5c2690f0e15e8b1b10b1c7.zip |
[libcxx] Remove bad_array_length
Summary:
std::bad_array_length was added by n3467, but this never made it into C++.
This commit removes the definition of std::bad_array_length from the headers
AND from the shared library. See the comments in the ABI changelog for details
about the ABI implications of this change.
Reviewers: mclow.lists, dexonsmith, howard.hinnant, EricWF
Subscribers: christof, jkorous, libcxx-commits
Differential Revision: https://reviews.llvm.org/D54804
llvm-svn: 347903
Diffstat (limited to 'libcxx/src')
-rw-r--r-- | libcxx/src/support/runtime/exception_fallback.ipp | 16 | ||||
-rw-r--r-- | libcxx/src/support/runtime/exception_glibcxx.ipp | 5 | ||||
-rw-r--r-- | libcxx/src/support/runtime/exception_libcxxrt.ipp | 15 | ||||
-rw-r--r-- | libcxx/src/support/runtime/exception_msvc.ipp | 14 |
4 files changed, 0 insertions, 50 deletions
diff --git a/libcxx/src/support/runtime/exception_fallback.ipp b/libcxx/src/support/runtime/exception_fallback.ipp index 664e7f48c09..16d387b99e8 100644 --- a/libcxx/src/support/runtime/exception_fallback.ipp +++ b/libcxx/src/support/runtime/exception_fallback.ipp @@ -134,22 +134,6 @@ bad_array_new_length::what() const _NOEXCEPT return "bad_array_new_length"; } - -bad_array_length::bad_array_length() _NOEXCEPT -{ -} - -bad_array_length::~bad_array_length() _NOEXCEPT -{ -} - -const char* -bad_array_length::what() const _NOEXCEPT -{ - return "bad_array_length"; -} - - bad_cast::bad_cast() _NOEXCEPT { } diff --git a/libcxx/src/support/runtime/exception_glibcxx.ipp b/libcxx/src/support/runtime/exception_glibcxx.ipp index 0f78932f6f9..dda4432b508 100644 --- a/libcxx/src/support/runtime/exception_glibcxx.ipp +++ b/libcxx/src/support/runtime/exception_glibcxx.ipp @@ -22,11 +22,6 @@ bad_array_new_length::bad_array_new_length() _NOEXCEPT { } -bad_array_length::bad_array_length() _NOEXCEPT -{ -} - - bad_cast::bad_cast() _NOEXCEPT { } diff --git a/libcxx/src/support/runtime/exception_libcxxrt.ipp b/libcxx/src/support/runtime/exception_libcxxrt.ipp index 6d9e0cff58d..52fe8635db7 100644 --- a/libcxx/src/support/runtime/exception_libcxxrt.ipp +++ b/libcxx/src/support/runtime/exception_libcxxrt.ipp @@ -23,19 +23,4 @@ const char* bad_exception::what() const _NOEXCEPT return "std::bad_exception"; } - -bad_array_length::bad_array_length() _NOEXCEPT -{ -} - -bad_array_length::~bad_array_length() _NOEXCEPT -{ -} - -const char* -bad_array_length::what() const _NOEXCEPT -{ - return "bad_array_length"; -} - } // namespace std diff --git a/libcxx/src/support/runtime/exception_msvc.ipp b/libcxx/src/support/runtime/exception_msvc.ipp index 87d5a66fc8f..042d3add6c7 100644 --- a/libcxx/src/support/runtime/exception_msvc.ipp +++ b/libcxx/src/support/runtime/exception_msvc.ipp @@ -83,20 +83,6 @@ int uncaught_exceptions() _NOEXCEPT { return __uncaught_exceptions(); } -bad_array_length::bad_array_length() _NOEXCEPT -{ -} - -bad_array_length::~bad_array_length() _NOEXCEPT -{ -} - -const char* -bad_array_length::what() const _NOEXCEPT -{ - return "bad_array_length"; -} - #if defined(_LIBCPP_NO_VCRUNTIME) bad_cast::bad_cast() _NOEXCEPT { |