llvm-project/libcxxabi/test
Eric Fiselier b6030b9dbf [libcxxabi] Disallow Base to Derived conversions for catching pointers to members.
Summary:
I accidentally implemented the 4.11 [conv.mem] conversions for libc++abi in a recent patch. @majnemer pointed out that 5.13 [except.handle] only allows the pointer conversions in 4.10 and not those is 4.11. This patch no longer allows the following example code:

```c++
struct A {};
struct B : public A {};

int main() {
  try {
    throw (int A::*)0;
  } catch (int B::*) {
    // exception caught here.
  }
}
```

Reviewers: mclow.lists, jroelofs, majnemer

Reviewed By: majnemer

Subscribers: majnemer, cfe-commits

Differential Revision: http://reviews.llvm.org/D8845

llvm-svn: 234254
2015-04-06 23:03:01 +00:00
..
libcxxabi Let libc++'s LIT configuration setup our linker paths and env. 2015-03-17 19:45:21 +00:00
support Fix comment on end of #endif to match #if 2014-11-25 03:19:02 +00:00
CMakeLists.txt [libcxxabi] Build both static and shared versions of libc++abi by default. 2015-03-03 15:59:09 +00:00
backtrace_test.pass.cpp Enable backtrace_test for ARM. 2015-01-22 13:40:16 +00:00
catch_array_01.pass.cpp Rename all of the tests in preparation for merging lit configs with libcxx 2015-01-21 19:05:37 +00:00
catch_array_02.pass.cpp Rename all of the tests in preparation for merging lit configs with libcxx 2015-01-21 19:05:37 +00:00
catch_class_01.pass.cpp Rename all of the tests in preparation for merging lit configs with libcxx 2015-01-21 19:05:37 +00:00
catch_class_02.pass.cpp Rename all of the tests in preparation for merging lit configs with libcxx 2015-01-21 19:05:37 +00:00
catch_class_03.pass.cpp Rename all of the tests in preparation for merging lit configs with libcxx 2015-01-21 19:05:37 +00:00
catch_class_04.pass.cpp Rename all of the tests in preparation for merging lit configs with libcxx 2015-01-21 19:05:37 +00:00
catch_const_pointer_nullptr.pass.cpp Rename all of the tests in preparation for merging lit configs with libcxx 2015-01-21 19:05:37 +00:00
catch_function_01.pass.cpp Rename all of the tests in preparation for merging lit configs with libcxx 2015-01-21 19:05:37 +00:00
catch_function_02.pass.cpp Rename all of the tests in preparation for merging lit configs with libcxx 2015-01-21 19:05:37 +00:00
catch_in_noexcept.pass.cpp Rename all of the tests in preparation for merging lit configs with libcxx 2015-01-21 19:05:37 +00:00
catch_member_data_pointer_01.pass.cpp [libcxxabi] Disallow Base to Derived conversions for catching pointers to members. 2015-04-06 23:03:01 +00:00
catch_member_function_pointer_01.pass.cpp [libcxxabi] Disallow Base to Derived conversions for catching pointers to members. 2015-04-06 23:03:01 +00:00
catch_member_pointer_nullptr.pass.cpp Rename all of the tests in preparation for merging lit configs with libcxx 2015-01-21 19:05:37 +00:00
catch_multi_level_pointer.pass.cpp [libcxxabi] Disallow Base to Derived conversions for catching pointers to members. 2015-04-06 23:03:01 +00:00
catch_pointer_nullptr.pass.cpp [libcxxabi] Fix multi-level pointer conversions and pointer to member conversion detection. 2015-04-02 23:26:37 +00:00
catch_pointer_reference.pass.cpp Rename all of the tests in preparation for merging lit configs with libcxx 2015-01-21 19:05:37 +00:00
catch_ptr.pass.cpp Rename all of the tests in preparation for merging lit configs with libcxx 2015-01-21 19:05:37 +00:00
catch_ptr_02.pass.cpp Rename all of the tests in preparation for merging lit configs with libcxx 2015-01-21 19:05:37 +00:00
cxa_thread_atexit_test.pass.cpp Make test require 'linux' instead of 'linux2' 2015-02-03 23:50:47 +00:00
dynamic_cast3.pass.cpp Rename all of the tests in preparation for merging lit configs with libcxx 2015-01-21 19:05:37 +00:00
dynamic_cast5.pass.cpp Rename all of the tests in preparation for merging lit configs with libcxx 2015-01-21 19:05:37 +00:00
dynamic_cast14.pass.cpp Rename all of the tests in preparation for merging lit configs with libcxx 2015-01-21 19:05:37 +00:00
dynamic_cast_stress.pass.cpp Rename all of the tests in preparation for merging lit configs with libcxx 2015-01-21 19:05:37 +00:00
inherited_exception.pass.cpp Rename all of the tests in preparation for merging lit configs with libcxx 2015-01-21 19:05:37 +00:00
lit.cfg Fix libcxxabi's library and object root for tests. 2015-02-11 01:07:48 +00:00
lit.site.cfg.in Let libc++'s LIT configuration setup our linker paths and env. 2015-03-17 19:45:21 +00:00
test_aux_runtime.pass.cpp Rename all of the tests in preparation for merging lit configs with libcxx 2015-01-21 19:05:37 +00:00
test_aux_runtime_op_array_new.pass.cpp Rename all of the tests in preparation for merging lit configs with libcxx 2015-01-21 19:05:37 +00:00
test_demangle.pass.cpp Rename all of the tests in preparation for merging lit configs with libcxx 2015-01-21 19:05:37 +00:00
test_exception_storage.pass.cpp Rename all of the tests in preparation for merging lit configs with libcxx 2015-01-21 19:05:37 +00:00
test_fallback_malloc.pass.cpp Rename all of the tests in preparation for merging lit configs with libcxx 2015-01-21 19:05:37 +00:00
test_guard.pass.cpp Rename all of the tests in preparation for merging lit configs with libcxx 2015-01-21 19:05:37 +00:00
test_vector1.pass.cpp Rename all of the tests in preparation for merging lit configs with libcxx 2015-01-21 19:05:37 +00:00
test_vector2.pass.cpp Rename all of the tests in preparation for merging lit configs with libcxx 2015-01-21 19:05:37 +00:00
test_vector3.pass.cpp Rename all of the tests in preparation for merging lit configs with libcxx 2015-01-21 19:05:37 +00:00
testit Rename all of the tests in preparation for merging lit configs with libcxx 2015-01-21 19:05:37 +00:00
unwind_01.pass.cpp Rename all of the tests in preparation for merging lit configs with libcxx 2015-01-21 19:05:37 +00:00
unwind_02.pass.cpp Rename all of the tests in preparation for merging lit configs with libcxx 2015-01-21 19:05:37 +00:00
unwind_03.pass.cpp Rename all of the tests in preparation for merging lit configs with libcxx 2015-01-21 19:05:37 +00:00
unwind_04.pass.cpp Rename all of the tests in preparation for merging lit configs with libcxx 2015-01-21 19:05:37 +00:00
unwind_05.pass.cpp Rename all of the tests in preparation for merging lit configs with libcxx 2015-01-21 19:05:37 +00:00
unwind_06.pass.cpp Rename all of the tests in preparation for merging lit configs with libcxx 2015-01-21 19:05:37 +00:00