mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-26 05:00:26 +00:00
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:
parent
2f9a9ed785
commit
f32b3c54f0
@ -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
Block a user