diff options
author | Chris Lattner <sabre@nondot.org> | 2003-08-27 22:58:51 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-08-27 22:58:51 +0000 |
commit | 7a37fa7e288902cf01e65ff8f843744bc82b489a (patch) | |
tree | 41a9b61507189b58026cdb0f0ac9e03490dd6650 /runtime/GCCLibraries/libexception/Exception.h | |
parent | 0e807bd26b26ce036bb97042a196e19ba0fd64ef (diff) |
Add throw specs to the functions, remove (void) from the functions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8167 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'runtime/GCCLibraries/libexception/Exception.h')
-rw-r--r-- | runtime/GCCLibraries/libexception/Exception.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/GCCLibraries/libexception/Exception.h b/runtime/GCCLibraries/libexception/Exception.h index 1e82f2ffbe..4d886cd920 100644 --- a/runtime/GCCLibraries/libexception/Exception.h +++ b/runtime/GCCLibraries/libexception/Exception.h @@ -42,8 +42,8 @@ enum { // Language independent exception handling API... // extern "C" { - bool __llvm_eh_has_uncaught_exception(void); - void *__llvm_eh_current_uncaught_exception_type(unsigned HandlerType); + bool __llvm_eh_has_uncaught_exception() throw(); + void *__llvm_eh_current_uncaught_exception_type(unsigned HandlerType) throw(); } #endif |