diff options
author | Louis Dionne <ldionne@apple.com> | 2018-11-29 22:44:57 +0300 |
---|---|---|
committer | Louis Dionne <ldionne@apple.com> | 2018-11-29 22:44:57 +0300 |
commit | e823b6d7e616b8338b5c2690f0e15e8b1b10b1c7 (patch) | |
tree | d663a37b97064e97f782210811fb9b91294a84c5 /libcxxabi/src/stdlib_exception.cpp | |
parent | 129d529ab3e9ce9841b36541ecbf127a89248cfc (diff) |
[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 'libcxxabi/src/stdlib_exception.cpp')
-rw-r--r-- | libcxxabi/src/stdlib_exception.cpp | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/libcxxabi/src/stdlib_exception.cpp b/libcxxabi/src/stdlib_exception.cpp index 6c0910267d4f..0308e169a834 100644 --- a/libcxxabi/src/stdlib_exception.cpp +++ b/libcxxabi/src/stdlib_exception.cpp @@ -69,34 +69,4 @@ bad_array_new_length::what() const _NOEXCEPT return "bad_array_new_length"; } -// bad_array_length - -#ifndef _LIBCPP_BAD_ARRAY_LENGTH_DEFINED - -class _LIBCPP_EXCEPTION_ABI bad_array_length - : public bad_alloc -{ -public: - bad_array_length() _NOEXCEPT; - virtual ~bad_array_length() _NOEXCEPT; - virtual const char* what() const _NOEXCEPT; -}; - -#endif // _LIBCPP_BAD_ARRAY_LENGTH_DEFINED - -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"; -} - - } // std |