summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2011-03-14 20:20:29 +0000
committerJohn McCall <rjmccall@apple.com>2011-03-14 20:20:29 +0000
commitc525e3a114b518ddb2316d68c728ad95599c0034 (patch)
tree21c1604ae70361167075937a889f4cc9a5cc28d4 /llvm
parentb9b8ea40183cdbfff954f5aa514810d2534232da (diff)
downloadbcm5719-llvm-c525e3a114b518ddb2316d68c728ad95599c0034.tar.gz
bcm5719-llvm-c525e3a114b518ddb2316d68c728ad95599c0034.zip
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. llvm-svn: 127612
Diffstat (limited to 'llvm')
-rw-r--r--llvm/include/llvm/Support/Compiler.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/llvm/include/llvm/Support/Compiler.h b/llvm/include/llvm/Support/Compiler.h
index c9cc3da8c3f..0df154b5d6d 100644
--- a/llvm/include/llvm/Support/Compiler.h
+++ b/llvm/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
OpenPOWER on IntegriCloud