[cfe-commits] [libcxxabi] r136681 - /libcxxabi/trunk/src/abort_message.h

Nick Kledzik kledzik at apple.com
Mon Aug 1 22:01:31 PDT 2011


Author: kledzik
Date: Tue Aug  2 00:01:31 2011
New Revision: 136681

URL: http://llvm.org/viewvc/llvm-project?rev=136681&view=rev
Log:
use LIBCXXABI_NORETURN

Modified:
    libcxxabi/trunk/src/abort_message.h

Modified: libcxxabi/trunk/src/abort_message.h
URL: http://llvm.org/viewvc/llvm-project/libcxxabi/trunk/src/abort_message.h?rev=136681&r1=136680&r2=136681&view=diff
==============================================================================
--- libcxxabi/trunk/src/abort_message.h (original)
+++ libcxxabi/trunk/src/abort_message.h Tue Aug  2 00:01:31 2011
@@ -10,12 +10,15 @@
 #ifndef __ABORT_MESSAGE_H_
 #define __ABORT_MESSAGE_H_
 
+#include "cxxabi.h"
+
 #ifdef	__cplusplus
 extern "C" {
 #endif
 
-extern void abort_message(const char* format, ...) 
-            __attribute__((noreturn, format(printf, 1, 2)));
+extern LIBCXXABI_NORETURN
+       void abort_message(const char* format, ...) 
+            __attribute__((format(printf, 1, 2)));
 
 
 #ifdef __cplusplus





More information about the cfe-commits mailing list