]> granicus.if.org Git - clang/commit
[ms-cxxabi] Fix a number of bugs in the mangler.
authorPeter Collingbourne <peter@pcc.me.uk>
Thu, 25 Apr 2013 04:25:40 +0000 (04:25 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Thu, 25 Apr 2013 04:25:40 +0000 (04:25 +0000)
commitb70d1c32ca62d072b3f4a5d4628fdcf692cbf2f0
tree32cb8952861795d6e361e6338da9e40a42adc518
parentfed07a22d54075838f82b408ef11694982fdaaf0
[ms-cxxabi] Fix a number of bugs in the mangler.

This includes the following fixes:
 - Implement 4 subtly different variants of qualifier mangling and use them
   in what I believe are the right places.
 - Fix handling of array types.  Previously we were always decaying them,
   which is wrong if the type appears as a template argument, pointee,
   referent etc.
Fixes PR13182.

Differential Revision: http://llvm-reviews.chandlerc.com/D709

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@180250 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/MicrosoftMangle.cpp
test/CodeGenCXX/mangle-ms-arg-qualifiers.cpp
test/CodeGenCXX/mangle-ms-return-qualifiers.cpp
test/CodeGenCXX/mangle-ms-templates.cpp
test/CodeGenCXX/mangle-ms.cpp