summaryrefslogtreecommitdiff
path: root/include
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
commitfb32507d099849ab1fa3ee43f4578c3a0e971736 (patch)
tree9fa5b95923bb5c17ad7c8e6ed63c3e0b34d1dcfe /include
parentf32b3c54f020e9416aa74410d43c2452e57d3ae0 (diff)
downloadllvm-fb32507d099849ab1fa3ee43f4578c3a0e971736.tar.gz
llvm-fb32507d099849ab1fa3ee43f4578c3a0e971736.tar.bz2
llvm-fb32507d099849ab1fa3ee43f4578c3a0e971736.tar.xz
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
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