llvm-project/libcxxabi
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
..
cmake unwind: use -fno-rtti -fno-exceptions -funwind-tables 2015-02-06 17:47:57 +00:00
include unwind: always export unw_local_addr_space 2015-02-13 19:04:48 +00:00
lib Add ability to set OPTIONS for compile 2013-09-09 23:53:08 +00:00
src [libcxxabi] Disallow Base to Derived conversions for catching pointers to members. 2015-04-06 23:03:01 +00:00
test [libcxxabi] Disallow Base to Derived conversions for catching pointers to members. 2015-04-06 23:03:01 +00:00
www [libcxxabi] Teach CMake better ways to find the libc++ source directory (and misc cleanup). 2015-01-22 20:00:06 +00:00
.arcconfig Add an .arcconfig for libc++abi. 2014-10-17 16:48:56 +00:00
.gitignore [libcxxabi] Teach CMake better ways to find the libc++ source directory (and misc cleanup). 2015-01-22 20:00:06 +00:00
CMakeLists.txt Revert r228351 - Dont install header files. 2015-04-01 02:56:13 +00:00
CREDITS.TXT Adding ABI support for __cxa_throw_bad_array_new_length. 2014-09-11 17:26:43 +00:00
LICENSE.TXT Update copyright year to 2015. 2015-03-12 20:13:54 +00:00