mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-30 22:18:46 +00:00
Convert C comments to C++
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8172 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -13,35 +13,35 @@
|
|||||||
#include <cassert>
|
#include <cassert>
|
||||||
|
|
||||||
struct llvm_cxx_exception {
|
struct llvm_cxx_exception {
|
||||||
/* TypeInfo - A pointer to the C++ std::type_info object for this exception
|
// TypeInfo - A pointer to the C++ std::type_info object for this exception
|
||||||
* class. This is required because the class may not be polymorphic.
|
// class. This is required because the class may not be polymorphic.
|
||||||
*/
|
//
|
||||||
const std::type_info *TypeInfo;
|
const std::type_info *TypeInfo;
|
||||||
|
|
||||||
/* ExceptionObjectDestructor - A pointer to the function which destroys the
|
// ExceptionObjectDestructor - A pointer to the function which destroys the
|
||||||
* object represented by this exception. This is required because the class
|
// object represented by this exception. This is required because the class
|
||||||
* may not be polymorphic. This may be null if there is no cleanup required.
|
// may not be polymorphic. This may be null if there is no cleanup required.
|
||||||
*/
|
//
|
||||||
void (*ExceptionObjectDestructor)(void *);
|
void (*ExceptionObjectDestructor)(void *);
|
||||||
|
|
||||||
/* UnexpectedHandler - This contains a pointer to the "unexpected" handler
|
// UnexpectedHandler - This contains a pointer to the "unexpected" handler
|
||||||
* which may be registered by the user program with set_unexpected. Calls to
|
// which may be registered by the user program with set_unexpected. Calls to
|
||||||
* unexpected which are a result of an exception throw are supposed to use the
|
// unexpected which are a result of an exception throw are supposed to use the
|
||||||
* value of the handler at the time of the throw, not the currently set value.
|
// value of the handler at the time of the throw, not the currently set value.
|
||||||
*/
|
//
|
||||||
void (*UnexpectedHandler)();
|
void (*UnexpectedHandler)();
|
||||||
|
|
||||||
/* TerminateHandler - This contains a pointer to the "terminate" handler which
|
// TerminateHandler - This contains a pointer to the "terminate" handler which
|
||||||
* may be registered by the user program with set_terminate. Calls to
|
// may be registered by the user program with set_terminate. Calls to
|
||||||
* unexpected which are a result of an exception throw are supposed to use the
|
// unexpected which are a result of an exception throw are supposed to use the
|
||||||
* value of the handler at the time of the throw, not the currently set value.
|
// value of the handler at the time of the throw, not the currently set value.
|
||||||
*/
|
//
|
||||||
void (*TerminateHandler)();
|
void (*TerminateHandler)();
|
||||||
|
|
||||||
/* BaseException - The language independent portion of the exception state.
|
// BaseException - The language independent portion of the exception state.
|
||||||
* This is at the end of the record so that we can add additional members to
|
// This is at the end of the record so that we can add additional members to
|
||||||
* this structure without breaking binary compatibility.
|
// this structure without breaking binary compatibility.
|
||||||
*/
|
//
|
||||||
llvm_exception BaseException;
|
llvm_exception BaseException;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -13,35 +13,35 @@
|
|||||||
#include <cassert>
|
#include <cassert>
|
||||||
|
|
||||||
struct llvm_cxx_exception {
|
struct llvm_cxx_exception {
|
||||||
/* TypeInfo - A pointer to the C++ std::type_info object for this exception
|
// TypeInfo - A pointer to the C++ std::type_info object for this exception
|
||||||
* class. This is required because the class may not be polymorphic.
|
// class. This is required because the class may not be polymorphic.
|
||||||
*/
|
//
|
||||||
const std::type_info *TypeInfo;
|
const std::type_info *TypeInfo;
|
||||||
|
|
||||||
/* ExceptionObjectDestructor - A pointer to the function which destroys the
|
// ExceptionObjectDestructor - A pointer to the function which destroys the
|
||||||
* object represented by this exception. This is required because the class
|
// object represented by this exception. This is required because the class
|
||||||
* may not be polymorphic. This may be null if there is no cleanup required.
|
// may not be polymorphic. This may be null if there is no cleanup required.
|
||||||
*/
|
//
|
||||||
void (*ExceptionObjectDestructor)(void *);
|
void (*ExceptionObjectDestructor)(void *);
|
||||||
|
|
||||||
/* UnexpectedHandler - This contains a pointer to the "unexpected" handler
|
// UnexpectedHandler - This contains a pointer to the "unexpected" handler
|
||||||
* which may be registered by the user program with set_unexpected. Calls to
|
// which may be registered by the user program with set_unexpected. Calls to
|
||||||
* unexpected which are a result of an exception throw are supposed to use the
|
// unexpected which are a result of an exception throw are supposed to use the
|
||||||
* value of the handler at the time of the throw, not the currently set value.
|
// value of the handler at the time of the throw, not the currently set value.
|
||||||
*/
|
//
|
||||||
void (*UnexpectedHandler)();
|
void (*UnexpectedHandler)();
|
||||||
|
|
||||||
/* TerminateHandler - This contains a pointer to the "terminate" handler which
|
// TerminateHandler - This contains a pointer to the "terminate" handler which
|
||||||
* may be registered by the user program with set_terminate. Calls to
|
// may be registered by the user program with set_terminate. Calls to
|
||||||
* unexpected which are a result of an exception throw are supposed to use the
|
// unexpected which are a result of an exception throw are supposed to use the
|
||||||
* value of the handler at the time of the throw, not the currently set value.
|
// value of the handler at the time of the throw, not the currently set value.
|
||||||
*/
|
//
|
||||||
void (*TerminateHandler)();
|
void (*TerminateHandler)();
|
||||||
|
|
||||||
/* BaseException - The language independent portion of the exception state.
|
// BaseException - The language independent portion of the exception state.
|
||||||
* This is at the end of the record so that we can add additional members to
|
// This is at the end of the record so that we can add additional members to
|
||||||
* this structure without breaking binary compatibility.
|
// this structure without breaking binary compatibility.
|
||||||
*/
|
//
|
||||||
llvm_exception BaseException;
|
llvm_exception BaseException;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user