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