]> granicus.if.org Git - clang/commit
MS ABI: Fix mangling of static methods and function references
authorReid Kleckner <reid@kleckner.net>
Wed, 5 Feb 2014 18:59:38 +0000 (18:59 +0000)
committerReid Kleckner <reid@kleckner.net>
Wed, 5 Feb 2014 18:59:38 +0000 (18:59 +0000)
commitcf956c43e15b4860922b242785417fcb34afb5af
tree987ebc07e931fab828e5fe1c24bdafc4acd74ebc
parentc1b19f171d833880559d0f15ea27895452f4df09
MS ABI: Fix mangling of static methods and function references

Function references always use $1? like function pointers and never $E?
like var decl references.  Static methods are mangled like function
pointers.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@200869 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/MicrosoftMangle.cpp
test/CodeGenCXX/mangle-ms-template-callback.cpp