[PATCH] MS ABI: Mangle null pointer-to-member-functions compatibly

David Majnemer david.majnemer at gmail.com
Sat Jun 7 16:21:41 PDT 2014


Hi rnk,

Previously, we would mangle nullptr pointer-to-member-functions in class
templates with a mangling we invented because contemporary versions of
MSVC would crash when trying to compile such code.

However, VS "14" can successfully compile these sorts of template
instantiations.  This commit updates our mangling to be compatible with
theirs.

http://reviews.llvm.org/D4059

Files:
  lib/AST/MicrosoftMangle.cpp
  test/CodeGenCXX/mangle-ms-templates-memptrs-2.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D4059.10213.patch
Type: text/x-patch
Size: 3868 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140607/3769285c/attachment.bin>


More information about the cfe-commits mailing list