summaryrefslogtreecommitdiffstats
path: root/libcxxabi/src/cxa_exception.hpp
diff options
context:
space:
mode:
authorHoward Hinnant <hhinnant@apple.com>2012-01-08 23:39:14 +0000
committerHoward Hinnant <hhinnant@apple.com>2012-01-08 23:39:14 +0000
commit5dc3179e5de938f515da20f178ed0e7e451e4ea4 (patch)
tree7fb747c8bf8c14c9ae884c44aa14ff76fbd3d21d /libcxxabi/src/cxa_exception.hpp
parentc1ab7afec819fc247216027ded4e9d559e2b75ae (diff)
downloadbcm5719-llvm-5dc3179e5de938f515da20f178ed0e7e451e4ea4.tar.gz
bcm5719-llvm-5dc3179e5de938f515da20f178ed0e7e451e4ea4.zip
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.
llvm-svn: 147759
Diffstat (limited to 'libcxxabi/src/cxa_exception.hpp')
-rw-r--r--libcxxabi/src/cxa_exception.hpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/libcxxabi/src/cxa_exception.hpp b/libcxxabi/src/cxa_exception.hpp
index 8f795f0d100..346ed38572b 100644
--- a/libcxxabi/src/cxa_exception.hpp
+++ b/libcxxabi/src/cxa_exception.hpp
@@ -64,10 +64,8 @@ namespace __cxxabiv1 {
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;
OpenPOWER on IntegriCloud