Fix the exception-specification of abort() when declaring it in C++.

llvm-svn: 127610
This commit is contained in:
John McCall 2011-03-14 20:10:50 +00:00
parent 0491c0124f
commit b9b8ea4018
1 changed files with 1 additions and 1 deletions

View File

@ -134,7 +134,7 @@
# define LLVM_BUILTIN_UNREACHABLE __builtin_unreachable()
#else
#ifdef __cplusplus
extern "C" LLVM_ATTRIBUTE_NORETURN void abort();
extern "C" LLVM_ATTRIBUTE_NORETURN void abort() throw();
#else
extern LLVM_ATTRIBUTE_NORETURN void abort();
#endif