[MS] Don't escape MS C++ names with \01
It is not needed after LLVM r327734. Now it will be easier to copy-paste
IR symbol names from Clang.
llvm-svn: 327738
diff --git a/clang/test/CodeGenCXX/msabi-swiftcall-cc.cpp b/clang/test/CodeGenCXX/msabi-swiftcall-cc.cpp
index 5a5453a..e74c6b0 100644
--- a/clang/test/CodeGenCXX/msabi-swiftcall-cc.cpp
+++ b/clang/test/CodeGenCXX/msabi-swiftcall-cc.cpp
@@ -1,28 +1,28 @@
// RUN: %clang_cc1 -triple i686-unknown-windows-msvc -fdeclspec -emit-llvm %s -o - | FileCheck %s
void __attribute__((__swiftcall__)) f() {}
-// CHECK-DAG: @"\01?f@@YSXXZ"
+// CHECK-DAG: @"?f@@YSXXZ"
void (__attribute__((__swiftcall__)) *p)();
-// CHECK-DAG: @"\01?p@@3P6SXXZA"
+// CHECK-DAG: @"?p@@3P6SXXZA"
namespace {
void __attribute__((__swiftcall__)) __attribute__((__used__)) f() { }
-// CHECK-DAG: "\01?f@?A@@YSXXZ"
+// CHECK-DAG: "?f@?A@@YSXXZ"
}
namespace n {
void __attribute__((__swiftcall__)) f() {}
-// CHECK-DAG: "\01?f@n@@YSXXZ"
+// CHECK-DAG: "?f@n@@YSXXZ"
}
struct __declspec(dllexport) S {
S(const S &) = delete;
S & operator=(const S &) = delete;
void __attribute__((__swiftcall__)) m() { }
- // CHECK-DAG: "\01?m@S@@QASXXZ"
+ // CHECK-DAG: "?m@S@@QASXXZ"
};
void f(void (__attribute__((__swiftcall__))())) {}
-// CHECK-DAG: "\01?f@@YAXP6SXXZ@Z"
+// CHECK-DAG: "?f@@YAXP6SXXZ@Z"