mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-21 05:21:28 +00:00
Okay, some compilers complain if you provide the exception-specification
where none was before. Just don't declare it and hope it's declared in every translation unit that needs it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127612 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f32b3c54f0
commit
fb32507d09
@ -133,11 +133,6 @@
|
||||
|| (__GNUC__ == 4 && __GNUC_MINOR__ >= 5)
|
||||
# define LLVM_BUILTIN_UNREACHABLE __builtin_unreachable()
|
||||
#else
|
||||
#ifdef __cplusplus
|
||||
extern "C" LLVM_ATTRIBUTE_NORETURN void abort() throw();
|
||||
#else
|
||||
extern LLVM_ATTRIBUTE_NORETURN void abort();
|
||||
#endif
|
||||
# define LLVM_BUILTIN_UNREACHABLE abort()
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user