summaryrefslogtreecommitdiffstats
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
commit7234208d6c71501abfb83e7980ce9dff370535bd (patch)
tree148368ba97fa5238ba9106e2730b3986d014513d
parent3926a8329ec3b8838c9269d93f1246d7ef68cd69 (diff)
downloadbcm5719-llvm-7234208d6c71501abfb83e7980ce9dff370535bd.tar.gz
bcm5719-llvm-7234208d6c71501abfb83e7980ce9dff370535bd.zip
Convert C comments to C++
llvm-svn: 8172
-rw-r--r--llvm/runtime/GCCLibraries/crtend/C++-Exception.h42
-rw-r--r--llvm/runtime/GCCLibraries/libexception/C++-Exception.h42
2 files changed, 42 insertions, 42 deletions
diff --git a/llvm/runtime/GCCLibraries/crtend/C++-Exception.h b/llvm/runtime/GCCLibraries/crtend/C++-Exception.h
index 30d40aad26b..2a16ad05312 100644
--- a/llvm/runtime/GCCLibraries/crtend/C++-Exception.h
+++ b/llvm/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/llvm/runtime/GCCLibraries/libexception/C++-Exception.h b/llvm/runtime/GCCLibraries/libexception/C++-Exception.h
index 30d40aad26b..2a16ad05312 100644
--- a/llvm/runtime/GCCLibraries/libexception/C++-Exception.h
+++ b/llvm/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;
};
OpenPOWER on IntegriCloud