diff options
author | Douglas Gregor <dgregor@apple.com> | 2010-01-27 03:51:04 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2010-01-27 03:51:04 +0000 |
commit | ad323a856c0bf759e07d37d749510ddf4f8c6b96 (patch) | |
tree | 137fb27dea843ff296557d241b81c97a0863cb5c /lib/Checker/CFRefCount.cpp | |
parent | 2f514480c448708ec382a684cf5e035d3a827ec8 (diff) |
Fix a major oversight in the comparison of standard conversion
sequences, where we would occasionally determine (incorrectly) that
one standard conversion sequence was a proper subset of another when,
in fact, they contained completely incomparable conversions.
This change records the types in each step within a standard
conversion sequence, so that we can check the specific comparison
types to determine when one sequence is a proper subset of the
other. Fixes this testcase (thanks, Anders!), which was distilled from
PR6095 (also thanks to Anders).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@94660 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Checker/CFRefCount.cpp')
0 files changed, 0 insertions, 0 deletions