diff --git a/include/llvm/Support/Compiler.h b/include/llvm/Support/Compiler.h index c9cc3da8c3f..0df154b5d6d 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