]> granicus.if.org Git - clang/commit
[ms-cxxabi] Properly mangle member pointers
authorDavid Majnemer <david.majnemer@gmail.com>
Mon, 5 Aug 2013 22:43:06 +0000 (22:43 +0000)
committerDavid Majnemer <david.majnemer@gmail.com>
Mon, 5 Aug 2013 22:43:06 +0000 (22:43 +0000)
commitc0e64f3d293bc1c448a84d285f115bc946b91b07
treecefa8d88844b07a6697db0632753820136a52fd6
parent02c44f0962c8739c447bc35688d47294f72494aa
[ms-cxxabi] Properly mangle member pointers

There were three things missing from the original implementation:

- We would omit the 'E' qualifier for members int 64-bit mode.
- We would not exmaine the qualifiers in 'IsMember' mode.
- We didn't generate the correct backref to the base class.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@187753 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/MicrosoftMangle.cpp
test/CodeGenCXX/mangle-ms.cpp
test/CodeGenCXX/microsoft-abi-member-pointers.cpp