summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/mangle-ms.cpp
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2013-04-25 04:25:40 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2013-04-25 04:25:40 +0000
commit2816c023ea32855b51456b95955448a3e675861b (patch)
tree25ef03ffbd8ca6b61c58478bdb8fae76af0ab185 /clang/test/CodeGenCXX/mangle-ms.cpp
parent72780ed996fa2aaaf14923f82dcb719ea84fc23f (diff)
downloadbcm5719-llvm-2816c023ea32855b51456b95955448a3e675861b.tar.gz
bcm5719-llvm-2816c023ea32855b51456b95955448a3e675861b.zip
[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 llvm-svn: 180250
Diffstat (limited to 'clang/test/CodeGenCXX/mangle-ms.cpp')
-rw-r--r--clang/test/CodeGenCXX/mangle-ms.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/clang/test/CodeGenCXX/mangle-ms.cpp b/clang/test/CodeGenCXX/mangle-ms.cpp
index 6441d67a758..1b98a84823f 100644
--- a/clang/test/CodeGenCXX/mangle-ms.cpp
+++ b/clang/test/CodeGenCXX/mangle-ms.cpp
@@ -17,11 +17,8 @@
// CHECK: @"\01?l@@3P8foo@@AEHH@ZA"
// CHECK: @"\01?color1@@3PANA"
// CHECK: @"\01?color2@@3QBNB"
-
-// FIXME: The following three tests currently fail, see http://llvm.org/PR13182
-// Replace "CHECK-NOT" with "CHECK" when it is fixed.
-// CHECK-NOT: @"\01?color3@@3QAY02$$CBNA"
-// CHECK-NOT: @"\01?color4@@3QAY02$$CBNA"
+// CHECK: @"\01?color3@@3QAY02$$CBNA"
+// CHECK: @"\01?color4@@3QAY02$$CBNA"
int a;
OpenPOWER on IntegriCloud