summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLouis Dionne <ldionne@apple.com>2018-11-29 19:44:57 +0000
committerLouis Dionne <ldionne@apple.com>2018-11-29 19:44:57 +0000
commit307bb62985575b2e3216a8cfd7e122e0574f33a9 (patch)
tree51b5b1f0b69aa52ad1339bc618733e77dacdac6b
parent132c87cd47a38b8acdfa565619fb0dd0ba9ce070 (diff)
downloadlibcxxabi-307bb62985575b2e3216a8cfd7e122e0574f33a9.tar.gz
[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 git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@347903 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--src/stdlib_exception.cpp30
1 files changed, 0 insertions, 30 deletions
diff --git a/src/stdlib_exception.cpp b/src/stdlib_exception.cpp
index 6c09102..0308e16 100644
--- a/src/stdlib_exception.cpp
+++ b/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