Add throw specs to the functions, remove (void) from the functions
authorChris Lattner <sabre@nondot.org>
Wed, 27 Aug 2003 22:58:51 +0000 (22:58 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 27 Aug 2003 22:58:51 +0000 (22:58 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8167 91177308-0d34-0410-b5e6-96231b3b80d8

runtime/GCCLibraries/crtend/Exception.h
runtime/GCCLibraries/libexception/Exception.h

index 1e82f2ffbe3784767eb7a79df24903266728eeeb..4d886cd9203ed74826c426852b2b133775ce42d4 100644 (file)
@@ -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
index 1e82f2ffbe3784767eb7a79df24903266728eeeb..4d886cd9203ed74826c426852b2b133775ce42d4 100644 (file)
@@ -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