Refactor the C++ ABI code a little bit to take advantage of
what I'm going to treat as basically universal properties of
array-cookie code.  Implement MS array cookies on top of that.
Based on a patch by Timur Iskhodzhanov!

llvm-svn: 155886
diff --git a/clang/test/CodeGenCXX/mangle-ms.cpp b/clang/test/CodeGenCXX/mangle-ms.cpp
index ceaa669..6556ab7 100644
--- a/clang/test/CodeGenCXX/mangle-ms.cpp
+++ b/clang/test/CodeGenCXX/mangle-ms.cpp
@@ -113,7 +113,6 @@
   char *array = new char[42];
 // CHECK: @"\01??_U@YAPAXI@Z"
 
-  // FIXME: enable once PR12333 is fixed
-  // delete [] array;
-// Should be: @"\01??_V@YAXPAX@Z"
+  delete [] array;
+// CHECK: @"\01??_V@YAXPAX@Z"
 }