llvm-project/libcxxabi
Eric Fiselier 1b00fc5d81 [libcxxabi] Fix multi-level pointer conversions and pointer to member conversion detection.
Summary:
Currently there are bugs in out detection of multi-level pointer conversions and pointer to member conversions. This patch fixes the following issues.

* Allow multi-level pointers with different nested qualifiers.
* Allow multi-level mixed pointers to objects and pointers to members with different nested qualifiers.
* Allow conversions from `int Base::*` to `int Derived::*` but only for non-nested pointers.

There is still some work that needs to be done to clean this patch up but I want to get some input on it.
Open questions:

* Does `__pointer_to_member_type_info::can_catch(...)` need to adjust the pointer if a base to derived conversion is performed?


Reviewers: danalbert, compnerd, mclow.lists

Reviewed By: mclow.lists

Subscribers: cfe-commits

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

llvm-svn: 233984
2015-04-02 23:26:37 +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] Fix multi-level pointer conversions and pointer to member conversion detection. 2015-04-02 23:26:37 +00:00
test [libcxxabi] Fix multi-level pointer conversions and pointer to member conversion detection. 2015-04-02 23:26:37 +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