[cfe-commits] [libcxxabi] r147759 - /libcxxabi/trunk/src/cxa_exception.hpp
Howard Hinnant
hhinnant at apple.com
Sun Jan 8 15:39:14 PST 2012
Author: hhinnant
Date: Sun Jan 8 17:39:14 2012
New Revision: 147759
URL: http://llvm.org/viewvc/llvm-project?rev=147759&view=rev
Log:
Correct comment regarding members of __cxa_dependent_exception. Actually it is useful to disguise a __cxa_dependent_exception as a __cxa_exception by filling in most (not all) of these members at __cxa_dependent_exception construction time. That way most routines don't have to care which kind of exception they have.
Modified:
libcxxabi/trunk/src/cxa_exception.hpp
Modified: libcxxabi/trunk/src/cxa_exception.hpp
URL: http://llvm.org/viewvc/llvm-project/libcxxabi/trunk/src/cxa_exception.hpp?rev=147759&r1=147758&r2=147759&view=diff
==============================================================================
--- libcxxabi/trunk/src/cxa_exception.hpp (original)
+++ libcxxabi/trunk/src/cxa_exception.hpp Sun Jan 8 17:39:14 2012
@@ -64,10 +64,8 @@
void* primaryException;
#endif
- // Unused dummy data (should be set to null)
std::type_info *exceptionType;
void (*exceptionDestructor)(void *);
-
std::unexpected_handler unexpectedHandler;
std::terminate_handler terminateHandler;
More information about the cfe-commits
mailing list