aboutsummaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-08-28 14:43:36 +0000
committerChris Lattner <sabre@nondot.org>2003-08-28 14:43:36 +0000
commit82d222faaab57d71d0832be9521ff3dd77e007d0 (patch)
tree337b71df25db7cdde383933a7d62a8c0443cffa7 /runtime
parent37459033f9784d0ec6f5fda0b5409a233c6f86a9 (diff)
downloadexternal_llvm-82d222faaab57d71d0832be9521ff3dd77e007d0.zip
external_llvm-82d222faaab57d71d0832be9521ff3dd77e007d0.tar.gz
external_llvm-82d222faaab57d71d0832be9521ff3dd77e007d0.tar.bz2
Convert C comments to C++
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8172 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'runtime')
-rw-r--r--runtime/GCCLibraries/crtend/C++-Exception.h42
-rw-r--r--runtime/GCCLibraries/libexception/C++-Exception.h42
2 files changed, 42 insertions, 42 deletions
diff --git a/runtime/GCCLibraries/crtend/C++-Exception.h b/runtime/GCCLibraries/crtend/C++-Exception.h
index 30d40aa..2a16ad0 100644
--- a/runtime/GCCLibraries/crtend/C++-Exception.h
+++ b/runtime/GCCLibraries/crtend/C++-Exception.h
@@ -13,35 +13,35 @@
#include <cassert>
struct llvm_cxx_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.
- */
+ // TypeInfo - A pointer to the C++ std::type_info object for this exception
+ // class. This is required because the class may not be polymorphic.
+ //
const std::type_info *TypeInfo;
- /* ExceptionObjectDestructor - A pointer to the function which destroys the
- * 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.
- */
+ // ExceptionObjectDestructor - A pointer to the function which destroys the
+ // 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.
+ //
void (*ExceptionObjectDestructor)(void *);
- /* UnexpectedHandler - This contains a pointer to the "unexpected" handler
- * 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
- * value of the handler at the time of the throw, not the currently set value.
- */
+ // UnexpectedHandler - This contains a pointer to the "unexpected" handler
+ // 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
+ // value of the handler at the time of the throw, not the currently set value.
+ //
void (*UnexpectedHandler)();
- /* TerminateHandler - This contains a pointer to the "terminate" handler which
- * 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
- * value of the handler at the time of the throw, not the currently set value.
- */
+ // TerminateHandler - This contains a pointer to the "terminate" handler which
+ // 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
+ // value of the handler at the time of the throw, not the currently set value.
+ //
void (*TerminateHandler)();
- /* 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 structure without breaking binary compatibility.
- */
+ // 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 structure without breaking binary compatibility.
+ //
llvm_exception BaseException;
};
diff --git a/runtime/GCCLibraries/libexception/C++-Exception.h b/runtime/GCCLibraries/libexception/C++-Exception.h
index 30d40aa..2a16ad0 100644
--- a/runtime/GCCLibraries/libexception/C++-Exception.h
+++ b/runtime/GCCLibraries/libexception/C++-Exception.h
@@ -13,35 +13,35 @@
#include <cassert>
struct llvm_cxx_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.
- */
+ // TypeInfo - A pointer to the C++ std::type_info object for this exception
+ // class. This is required because the class may not be polymorphic.
+ //
const std::type_info *TypeInfo;
- /* ExceptionObjectDestructor - A pointer to the function which destroys the
- * 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.
- */
+ // ExceptionObjectDestructor - A pointer to the function which destroys the
+ // 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.
+ //
void (*ExceptionObjectDestructor)(void *);
- /* UnexpectedHandler - This contains a pointer to the "unexpected" handler
- * 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
- * value of the handler at the time of the throw, not the currently set value.
- */
+ // UnexpectedHandler - This contains a pointer to the "unexpected" handler
+ // 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
+ // value of the handler at the time of the throw, not the currently set value.
+ //
void (*UnexpectedHandler)();
- /* TerminateHandler - This contains a pointer to the "terminate" handler which
- * 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
- * value of the handler at the time of the throw, not the currently set value.
- */
+ // TerminateHandler - This contains a pointer to the "terminate" handler which
+ // 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
+ // value of the handler at the time of the throw, not the currently set value.
+ //
void (*TerminateHandler)();
- /* 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 structure without breaking binary compatibility.
- */
+ // 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 structure without breaking binary compatibility.
+ //
llvm_exception BaseException;
};