summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Support/Compiler.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Support/Compiler.h b/include/llvm/Support/Compiler.h
index 2d2a0b124a..c9cc3da8c3 100644
--- a/include/llvm/Support/Compiler.h
+++ b/include/llvm/Support/Compiler.h
@@ -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