[llvm-commits] CVS: llvm/runtime/GCCLibraries/libexception/exception.h

Chris Lattner lattner at cs.uiuc.edu
Tue Aug 26 23:51:03 PDT 2003


Changes in directory llvm/runtime/GCCLibraries/libexception:

exception.h updated: 1.1 -> 1.2

---
Log message:

Remove Cisms.  We love C++


---
Diffs of the changes:

Index: llvm/runtime/GCCLibraries/libexception/exception.h
diff -u llvm/runtime/GCCLibraries/libexception/exception.h:1.1 llvm/runtime/GCCLibraries/libexception/exception.h:1.2
--- llvm/runtime/GCCLibraries/libexception/exception.h:1.1	Mon Aug 25 17:35:36 2003
+++ llvm/runtime/GCCLibraries/libexception/exception.h	Tue Aug 26 23:50:12 2003
@@ -8,12 +8,12 @@
 #ifndef EXCEPTION_H
 #define EXCEPTION_H
 
-typedef struct llvm_exception {
+struct llvm_exception {
   // ExceptionDestructor - This call-back function is used to destroy the
   // current exception, without requiring the caller to know what the concrete
   // exception type is.
   //
-  void (*ExceptionDestructor)(struct llvm_exception *);
+  void (*ExceptionDestructor)(llvm_exception *);
   
   // ExceptionType - This field identifies what runtime library this exception
   // came from.  Currently defined values are:
@@ -24,14 +24,14 @@
   unsigned ExceptionType;
 
   // Next - This points to the next exception in the current stack.
-  struct llvm_exception *Next;
+  llvm_exception *Next;
 
   // HandlerCount - This is a count of the number of handlers which have
   // currently caught this exception.  If the handler is caught and this number
   // falls to zero, the exception is destroyed.
   //
   unsigned HandlerCount;
-} llvm_exception;
+};
 
 enum {
   ErrorException   = 0,





More information about the llvm-commits mailing list