diff options
author | Douglas Gregor <dgregor@apple.com> | 2008-10-23 00:40:37 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2008-10-23 00:40:37 +0000 |
commit | bc0805a6ca84e3c38a08c9f47441e138945244d4 (patch) | |
tree | dfcfe1a8fd1085e1e3b95f46cc5a0e1b019a9366 /lib/Analysis/CFRefCount.cpp | |
parent | 9b3dc9166e6d87af310e1a931303ad75993c7a88 (diff) |
Add support for conversions from a pointer-to-derived to a
pointer-to-base. Also, add overload ranking for pointer conversions
(for both pointer-to-void and derived-to-base pointer conversions).
Note that we do not yet diagnose derived-to-base pointer conversion
errors that stem from ambiguous or inacessible base classes. These
aren't handled during overload resolution; rather, when the conversion
is actually used we go ahead and diagnose the error.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@58017 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/CFRefCount.cpp')
0 files changed, 0 insertions, 0 deletions