diff options
author | David Majnemer <david.majnemer@gmail.com> | 2015-04-30 17:15:48 +0000 |
---|---|---|
committer | David Majnemer <david.majnemer@gmail.com> | 2015-04-30 17:15:48 +0000 |
commit | d950f15ee527009d702853f2d60fe6b4d5344977 (patch) | |
tree | 3dfd43373b235857de5514f2d1262c1599ca5905 /clang/lib/Parse/ParseDecl.cpp | |
parent | 6190aee9b2207caaca5356df6122bef796bb4579 (diff) | |
download | bcm5719-llvm-d950f15ee527009d702853f2d60fe6b4d5344977.tar.gz bcm5719-llvm-d950f15ee527009d702853f2d60fe6b4d5344977.zip |
[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
Diffstat (limited to 'clang/lib/Parse/ParseDecl.cpp')
0 files changed, 0 insertions, 0 deletions