mirror of
https://github.com/intel/llvm.git
synced 2026-01-19 01:15:50 +08:00
If libc++ has not declared bad_array_length, then declare it here just so that it gets into the binary.
llvm-svn: 194208
This commit is contained in:
@@ -232,6 +232,19 @@ bad_array_new_length::what() const _NOEXCEPT
|
||||
|
||||
// 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
|
||||
{
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user