[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
Showing
- lib/AST/MicrosoftMangle.cpp 98 additions, 91 deletionslib/AST/MicrosoftMangle.cpp
- test/CodeGenCXX/mangle-ms-arg-qualifiers.cpp 45 additions, 0 deletionstest/CodeGenCXX/mangle-ms-arg-qualifiers.cpp
- test/CodeGenCXX/mangle-ms-return-qualifiers.cpp 9 additions, 0 deletionstest/CodeGenCXX/mangle-ms-return-qualifiers.cpp
- test/CodeGenCXX/mangle-ms-templates.cpp 19 additions, 13 deletionstest/CodeGenCXX/mangle-ms-templates.cpp
- test/CodeGenCXX/mangle-ms.cpp 2 additions, 5 deletionstest/CodeGenCXX/mangle-ms.cpp
Loading
Please register or sign in to comment