[libcxxabi] r190479 - Adding bad_array_length to libc++abi
Marshall Clow
mclow.lists at gmail.com
Tue Sep 10 18:42:02 PDT 2013
Author: marshall
Date: Tue Sep 10 20:42:02 2013
New Revision: 190479
URL: http://llvm.org/viewvc/llvm-project?rev=190479&view=rev
Log:
Adding bad_array_length to libc++abi
Modified:
libcxxabi/trunk/src/cxa_new_delete.cpp
Modified: libcxxabi/trunk/src/cxa_new_delete.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxxabi/trunk/src/cxa_new_delete.cpp?rev=190479&r1=190478&r2=190479&view=diff
==============================================================================
--- libcxxabi/trunk/src/cxa_new_delete.cpp (original)
+++ libcxxabi/trunk/src/cxa_new_delete.cpp Tue Sep 10 20:42:02 2013
@@ -9,6 +9,8 @@
// This file implements the new and delete operators.
//===----------------------------------------------------------------------===//
+#define _LIBCPP_BUILDING_NEW
+
#include <new>
#include <cstdlib>
@@ -228,4 +230,20 @@ bad_array_new_length::what() const _NOEX
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
More information about the cfe-commits
mailing list