Skip to content
This repository has been archived by the owner on Feb 5, 2019. It is now read-only.

Commit

Permalink
Fix the exception-specification of abort() when declaring it in C++.
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127610 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
rjmccall committed Mar 14, 2011
1 parent 2f9a9ed commit f32b3c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/llvm/Support/Compiler.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f32b3c5

Please sign in to comment.