]> granicus.if.org Git - clang/commit
[ms-cxxabi] Fix vbptr offsets in memptrs when the vbptr is in an nvbase
authorReid Kleckner <reid@kleckner.net>
Wed, 5 Jun 2013 15:58:29 +0000 (15:58 +0000)
committerReid Kleckner <reid@kleckner.net>
Wed, 5 Jun 2013 15:58:29 +0000 (15:58 +0000)
commita06d585468ae9371eb46a69d6180c2a85e0f456e
treeb824cb5e0957ecd826d3c2952ae47dd9f57f2df5
parent6f773e87eeb2ca04f86b1dcb98683887dfbe1ffa
[ms-cxxabi] Fix vbptr offsets in memptrs when the vbptr is in an nvbase

Also addresses a review comment from John from on r180985 by removing
the "== -1" check, since it's now reusing the correct code which has the
comment.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@183318 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/MicrosoftCXXABI.cpp
test/CodeGenCXX/microsoft-abi-member-pointers.cpp