| commit | d950f15ee527009d702853f2d60fe6b4d5344977 | [log] [tgz] |
|---|---|---|
| author | David Majnemer <david.majnemer@gmail.com> | Thu Apr 30 17:15:48 2015 +0000 |
| committer | David Majnemer <david.majnemer@gmail.com> | Thu Apr 30 17:15:48 2015 +0000 |
| tree | 3dfd43373b235857de5514f2d1262c1599ca5905 | |
| parent | 6190aee9b2207caaca5356df6122bef796bb4579 [diff] |
[MS ABI] Correctly make paths through covariant virtual bases There can be multiple virtual bases which are on the path to a vfptr when one vbase virtually inherits from another. We should prefer the most derived virtual base which covariantly overrides a method in the vfptr class; if we do not lengthen the path this way, we will end up with too few vftable entries. This fixes PR21073. llvm-svn: 236239