forked from OSchip/llvm-project
Fix the exception-specification of abort() when declaring it in C++.
llvm-svn: 127610
This commit is contained in:
parent
0491c0124f
commit
b9b8ea4018
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue