]> granicus.if.org Git - clang/commit
Fix mangling of array parameters for functions in the Microsoft C++ Mangler.
authorCharles Davis <cdavis@mines.edu>
Sat, 3 Jul 2010 02:41:45 +0000 (02:41 +0000)
committerCharles Davis <cdavis@mines.edu>
Sat, 3 Jul 2010 02:41:45 +0000 (02:41 +0000)
commit4f0a3376a5e5c9028b0c736ac935895aabdb5fcd
tree3b69f095b2261c573ee408af7a991ecaa41ff0d3
parent1827403a7138946305c0058f262e02b595cf882f
Fix mangling of array parameters for functions in the Microsoft C++ Mangler.
Only actual functions get mangled correctly; I don't know how to fix it for
function pointers yet. Thanks to John McCall for the hint.

Also, mangle anonymous tag types. I don't have a suitable testcase yet; I have
a feeling that that's going to need support for static locals, and I haven't
figured out exactly how MSVC's scheme for mangling those works.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@107561 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/MicrosoftCXXABI.cpp
test/CodeGenCXX/mangle-ms.cpp