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()
|
# define LLVM_BUILTIN_UNREACHABLE __builtin_unreachable()
|
||||||
#else
|
#else
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" LLVM_ATTRIBUTE_NORETURN void abort();
|
extern "C" LLVM_ATTRIBUTE_NORETURN void abort() throw();
|
||||||
#else
|
#else
|
||||||
extern LLVM_ATTRIBUTE_NORETURN void abort();
|
extern LLVM_ATTRIBUTE_NORETURN void abort();
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue