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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127610 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
John McCall 2011-03-14 20:10:50 +00:00
parent 2f9a9ed785
commit f32b3c54f0

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