summaryrefslogtreecommitdiffstats
path: root/libcxxabi/src
diff options
context:
space:
mode:
authorHoward Hinnant <hhinnant@apple.com>2012-02-01 20:53:21 +0000
committerHoward Hinnant <hhinnant@apple.com>2012-02-01 20:53:21 +0000
commit2d6810fbd68d2aad2430885c8a4ee69814dd031d (patch)
treed8bd296a56377b5b836c4747ff6680bcf62fab3a /libcxxabi/src
parent72e6ce5aa93db0fa6631be6e3bb8c292ff5f3e68 (diff)
downloadbcm5719-llvm-2d6810fbd68d2aad2430885c8a4ee69814dd031d.tar.gz
bcm5719-llvm-2d6810fbd68d2aad2430885c8a4ee69814dd031d.zip
Quash a TODO related to catching pointer-to-member. These tests fail on my copy of gcc-4.2. But I believe the tests to be correct (and they pass for libc++abi). I've enquired on the C++ standards mailing list for a clarification in case I'm wrong. So far I've gotten one response that agrees with me.
llvm-svn: 149534
Diffstat (limited to 'libcxxabi/src')
-rw-r--r--libcxxabi/src/private_typeinfo.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/libcxxabi/src/private_typeinfo.cpp b/libcxxabi/src/private_typeinfo.cpp
index e6ffff106bf..13fbd32352f 100644
--- a/libcxxabi/src/private_typeinfo.cpp
+++ b/libcxxabi/src/private_typeinfo.cpp
@@ -380,8 +380,7 @@ __vmi_class_type_info::has_unambiguous_public_base(__dynamic_cast_info* info,
}
}
-// Handles bullets 1 and 4
-// TODO: Are we good to go here for __pointer_to_member_type_info?
+// Handles bullets 1 and 4 for both pointers and member pointers
bool
__pbase_type_info::can_catch(const __shim_type_info* thrown_type,
void*&) const
OpenPOWER on IntegriCloud