mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-04-07 07:42:11 +00:00
Adding bad_array_length to libc++abi
llvm-svn: 190479
This commit is contained in:
parent
6e8ebb2ce9
commit
46c9950f48
@ -9,6 +9,8 @@
|
|||||||
// This file implements the new and delete operators.
|
// This file implements the new and delete operators.
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
|
|
||||||
|
#define _LIBCPP_BUILDING_NEW
|
||||||
|
|
||||||
#include <new>
|
#include <new>
|
||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
|
|
||||||
@ -228,4 +230,20 @@ bad_array_new_length::what() const _NOEXCEPT
|
|||||||
return "bad_array_new_length";
|
return "bad_array_new_length";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// bad_array_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";
|
||||||
|
}
|
||||||
|
|
||||||
} // std
|
} // std
|
||||||
|
Loading…
x
Reference in New Issue
Block a user