mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-18 14:31:27 +00:00
Remove Cisms. We love C++
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8155 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1796cb7fbc
commit
c2c70fa79e
@ -8,12 +8,12 @@
|
|||||||
#ifndef EXCEPTION_H
|
#ifndef EXCEPTION_H
|
||||||
#define EXCEPTION_H
|
#define EXCEPTION_H
|
||||||
|
|
||||||
typedef struct llvm_exception {
|
struct llvm_exception {
|
||||||
// ExceptionDestructor - This call-back function is used to destroy the
|
// ExceptionDestructor - This call-back function is used to destroy the
|
||||||
// current exception, without requiring the caller to know what the concrete
|
// current exception, without requiring the caller to know what the concrete
|
||||||
// exception type is.
|
// exception type is.
|
||||||
//
|
//
|
||||||
void (*ExceptionDestructor)(struct llvm_exception *);
|
void (*ExceptionDestructor)(llvm_exception *);
|
||||||
|
|
||||||
// ExceptionType - This field identifies what runtime library this exception
|
// ExceptionType - This field identifies what runtime library this exception
|
||||||
// came from. Currently defined values are:
|
// came from. Currently defined values are:
|
||||||
@ -24,14 +24,14 @@ typedef struct llvm_exception {
|
|||||||
unsigned ExceptionType;
|
unsigned ExceptionType;
|
||||||
|
|
||||||
// Next - This points to the next exception in the current stack.
|
// 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
|
// HandlerCount - This is a count of the number of handlers which have
|
||||||
// currently caught this exception. If the handler is caught and this number
|
// currently caught this exception. If the handler is caught and this number
|
||||||
// falls to zero, the exception is destroyed.
|
// falls to zero, the exception is destroyed.
|
||||||
//
|
//
|
||||||
unsigned HandlerCount;
|
unsigned HandlerCount;
|
||||||
} llvm_exception;
|
};
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
ErrorException = 0,
|
ErrorException = 0,
|
||||||
|
@ -8,12 +8,12 @@
|
|||||||
#ifndef EXCEPTION_H
|
#ifndef EXCEPTION_H
|
||||||
#define EXCEPTION_H
|
#define EXCEPTION_H
|
||||||
|
|
||||||
typedef struct llvm_exception {
|
struct llvm_exception {
|
||||||
// ExceptionDestructor - This call-back function is used to destroy the
|
// ExceptionDestructor - This call-back function is used to destroy the
|
||||||
// current exception, without requiring the caller to know what the concrete
|
// current exception, without requiring the caller to know what the concrete
|
||||||
// exception type is.
|
// exception type is.
|
||||||
//
|
//
|
||||||
void (*ExceptionDestructor)(struct llvm_exception *);
|
void (*ExceptionDestructor)(llvm_exception *);
|
||||||
|
|
||||||
// ExceptionType - This field identifies what runtime library this exception
|
// ExceptionType - This field identifies what runtime library this exception
|
||||||
// came from. Currently defined values are:
|
// came from. Currently defined values are:
|
||||||
@ -24,14 +24,14 @@ typedef struct llvm_exception {
|
|||||||
unsigned ExceptionType;
|
unsigned ExceptionType;
|
||||||
|
|
||||||
// Next - This points to the next exception in the current stack.
|
// 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
|
// HandlerCount - This is a count of the number of handlers which have
|
||||||
// currently caught this exception. If the handler is caught and this number
|
// currently caught this exception. If the handler is caught and this number
|
||||||
// falls to zero, the exception is destroyed.
|
// falls to zero, the exception is destroyed.
|
||||||
//
|
//
|
||||||
unsigned HandlerCount;
|
unsigned HandlerCount;
|
||||||
} llvm_exception;
|
};
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
ErrorException = 0,
|
ErrorException = 0,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user