llvm.org GIT mirror llvm / c2c70fa
Remove Cisms. We love C++ git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8155 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 17 years ago
2 changed file(s) with 8 addition(s) and 8 deletion(s). Raw diff Collapse all Expand all
77 #ifndef EXCEPTION_H
88 #define EXCEPTION_H
99
10 typedef struct llvm_exception {
10 struct llvm_exception {
1111 // ExceptionDestructor - This call-back function is used to destroy the
1212 // current exception, without requiring the caller to know what the concrete
1313 // exception type is.
1414 //
15 void (*ExceptionDestructor)(struct llvm_exception *);
15 void (*ExceptionDestructor)(llvm_exception *);
1616
1717 // ExceptionType - This field identifies what runtime library this exception
1818 // came from. Currently defined values are:
2323 unsigned ExceptionType;
2424
2525 // Next - This points to the next exception in the current stack.
26 struct llvm_exception *Next;
26 llvm_exception *Next;
2727
2828 // HandlerCount - This is a count of the number of handlers which have
2929 // currently caught this exception. If the handler is caught and this number
3030 // falls to zero, the exception is destroyed.
3131 //
3232 unsigned HandlerCount;
33 } llvm_exception;
33 };
3434
3535 enum {
3636 ErrorException = 0,
77 #ifndef EXCEPTION_H
88 #define EXCEPTION_H
99
10 typedef struct llvm_exception {
10 struct llvm_exception {
1111 // ExceptionDestructor - This call-back function is used to destroy the
1212 // current exception, without requiring the caller to know what the concrete
1313 // exception type is.
1414 //
15 void (*ExceptionDestructor)(struct llvm_exception *);
15 void (*ExceptionDestructor)(llvm_exception *);
1616
1717 // ExceptionType - This field identifies what runtime library this exception
1818 // came from. Currently defined values are:
2323 unsigned ExceptionType;
2424
2525 // Next - This points to the next exception in the current stack.
26 struct llvm_exception *Next;
26 llvm_exception *Next;
2727
2828 // HandlerCount - This is a count of the number of handlers which have
2929 // currently caught this exception. If the handler is caught and this number
3030 // falls to zero, the exception is destroyed.
3131 //
3232 unsigned HandlerCount;
33 } llvm_exception;
33 };
3434
3535 enum {
3636 ErrorException = 0,