projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f9a9ed
)
Fix the exception-specification of abort() when declaring it in C++.
author
John McCall
<rjmccall@apple.com>
Mon, 14 Mar 2011 20:10:50 +0000
(20:10 +0000)
committer
John McCall
<rjmccall@apple.com>
Mon, 14 Mar 2011 20:10:50 +0000
(20:10 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127610
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Support/Compiler.h
patch
|
blob
|
history
diff --git
a/include/llvm/Support/Compiler.h
b/include/llvm/Support/Compiler.h
index 2d2a0b124abe4015bb0e19232639beb931967610..c9cc3da8c3f5429bd20d97eaf7c09bed29293a4d 100644
(file)
--- 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