summaryrefslogtreecommitdiffstats
path: root/llvm/runtime/GCCLibraries/libexception
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-08-27 04:50:12 +0000
committerChris Lattner <sabre@nondot.org>2003-08-27 04:50:12 +0000
commit8596f4ff327f9f81c79a63fa863cc754e70e9625 (patch)
treebe091ba9fb9796a5c00984eb11a26a0ec76fba67 /llvm/runtime/GCCLibraries/libexception
parentfabc4a69624022200629b9289c5a152bcf14ce6a (diff)
downloadbcm5719-llvm-8596f4ff327f9f81c79a63fa863cc754e70e9625.tar.gz
bcm5719-llvm-8596f4ff327f9f81c79a63fa863cc754e70e9625.zip
Remove Cisms. We love C++
llvm-svn: 8155
Diffstat (limited to 'llvm/runtime/GCCLibraries/libexception')
-rw-r--r--llvm/runtime/GCCLibraries/libexception/Exception.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/runtime/GCCLibraries/libexception/Exception.h b/llvm/runtime/GCCLibraries/libexception/Exception.h
index a0357b54c54..1e82f2ffbe3 100644
--- a/llvm/runtime/GCCLibraries/libexception/Exception.h
+++ b/llvm/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,
OpenPOWER on IntegriCloud