diff options
author | Chris Lattner <sabre@nondot.org> | 2003-08-27 04:50:12 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-08-27 04:50:12 +0000 |
commit | c2c70fa79e2ed26dc90bbe4176982e21d06886bf (patch) | |
tree | 3fadcb69aaee99b76f4fed947a83f5f695ec6b7a /runtime | |
parent | 1796cb7fbc4270a5cadbb77d69aa3b7d7fd5e323 (diff) | |
download | external_llvm-c2c70fa79e2ed26dc90bbe4176982e21d06886bf.zip external_llvm-c2c70fa79e2ed26dc90bbe4176982e21d06886bf.tar.gz external_llvm-c2c70fa79e2ed26dc90bbe4176982e21d06886bf.tar.bz2 |
Remove Cisms. We love C++
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8155 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/GCCLibraries/crtend/Exception.h | 8 | ||||
-rw-r--r-- | runtime/GCCLibraries/libexception/Exception.h | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/runtime/GCCLibraries/crtend/Exception.h b/runtime/GCCLibraries/crtend/Exception.h index a0357b5..1e82f2f 100644 --- a/runtime/GCCLibraries/crtend/Exception.h +++ b/runtime/GCCLibraries/crtend/Exception.h @@ -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 @@ typedef struct llvm_exception { 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, diff --git a/runtime/GCCLibraries/libexception/Exception.h b/runtime/GCCLibraries/libexception/Exception.h index a0357b5..1e82f2f 100644 --- a/runtime/GCCLibraries/libexception/Exception.h +++ b/runtime/GCCLibraries/libexception/Exception.h @@ -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 @@ typedef struct llvm_exception { 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, |