aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2017-08-29 17:40:04 +0000
committerReid Kleckner <rnk@google.com>2017-08-29 17:40:04 +0000
commitdd6fc83cb4063012b7f684459e9628d6b7b00f57 (patch)
treeae08e71ef3d7d1c29e360f2933a6375ffc10d7f3 /clang/lib/Frontend/CompilerInvocation.cpp
parent16a426e9a94b166538d93888c7c32e0371e89998 (diff)
downloadllvm-dd6fc83cb4063012b7f684459e9628d6b7b00f57.zip
llvm-dd6fc83cb4063012b7f684459e9628d6b7b00f57.tar.gz
llvm-dd6fc83cb4063012b7f684459e9628d6b7b00f57.tar.bz2
[ms] Fix vbtable index for covariant overrides of vbase methods
Overriding a method from a virtual base with a covariant return type consumes a slot from the vftable in the virtual base. This can make it impossible to implement certain diamond inheritance hierarchies, but we have to follow along for compatibility in the simple cases. This patch only affects our vtable dumper and member pointer function mangling, since all other callers of getMethodVFTableLocation seem to recompute VBTableIndex instead of using the one in the method location. Patch by David Majnemer llvm-svn: 312017
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions