[-cxx-abi microsoft] Mangle member pointers better
authorDavid Majnemer <david.majnemer@gmail.com>
Thu, 15 Aug 2013 08:13:23 +0000 (08:13 +0000)
committerDavid Majnemer <david.majnemer@gmail.com>
Thu, 15 Aug 2013 08:13:23 +0000 (08:13 +0000)
commit6dda7bb08db87e3456502f7e7638b5a98ea74ec0
tree0d080d9cc926f8f7cdd068d25fed07e8f4cfefb2
parent2ffd06528dd27ba3f41be9454c701a7aee0f7424
[-cxx-abi microsoft] Mangle member pointers better

Summary:
There were several things going wrong:
- We mangled in useless qualifiers like "volatile void" return types.
- We didn't propagate 64-bit pointer markers sufficiently.
- We mangled qualifiers belonging to the pointee incorrectly.

This fixes PR16844 and PR16848.

Reviewers: rnk, whunt

Reviewed By: rnk

CC: cfe-commits
Differential Revision: http://llvm-reviews.chandlerc.com/D1353

llvm-svn: 188450
clang/lib/AST/MicrosoftMangle.cpp
clang/test/CodeGenCXX/mangle-ms.cpp