[cfe-commits] [libcxxabi] r135584 - /libcxxabi/trunk/include/cxxabi.h
Marshall Clow
mclow at qualcomm.com
Wed Jul 20 07:27:46 PDT 2011
Author: marshall
Date: Wed Jul 20 09:27:46 2011
New Revision: 135584
URL: http://llvm.org/viewvc/llvm-project?rev=135584&view=rev
Log:
Fixed struct/class mismatch for std::type_info and added NORETURN flags
Modified:
libcxxabi/trunk/include/cxxabi.h
Modified: libcxxabi/trunk/include/cxxabi.h
URL: http://llvm.org/viewvc/llvm-project/libcxxabi/trunk/include/cxxabi.h?rev=135584&r1=135583&r2=135584&view=diff
==============================================================================
--- libcxxabi/trunk/include/cxxabi.h (original)
+++ libcxxabi/trunk/include/cxxabi.h Wed Jul 20 09:27:46 2011
@@ -34,8 +34,8 @@
extern void __cxa_free_exception(void * thrown_exception) throw();
// 2.4.3 Throwing the Exception Object
-extern void __cxa_throw(void * thrown_exception, struct std::type_info * tinfo,
- void (*dest)(void *));
+extern LIBCXXABI_NORETURN void __cxa_throw(void * thrown_exception,
+ std::type_info * tinfo, void (*dest)(void *));
// 2.5.3 Exception Handlers
extern void * __cxa_get_exception_ptr(void * exceptionObject) throw();
@@ -44,7 +44,7 @@
extern std::type_info * __cxa_current_exception_type();
// 2.5.4 Rethrowing Exceptions
-extern void __cxa_rethrow();
+extern LIBCXXABI_NORETURN void __cxa_rethrow();
More information about the cfe-commits
mailing list