summaryrefslogtreecommitdiffstats
path: root/test/CodeGenCXX/cxx1z-lambda-star-this.cpp
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2018-03-16 20:36:49 +0000
committerReid Kleckner <rnk@google.com>2018-03-16 20:36:49 +0000
commitc45a02c8a80791855dc03869463d70f1399d468e (patch)
tree86b3d3d3d055517fd00275c43578ca59a1cd5a3b /test/CodeGenCXX/cxx1z-lambda-star-this.cpp
parent26aa2ce181ce9bcce94ae08c9fc7b501a58ae0e4 (diff)
[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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@327738 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenCXX/cxx1z-lambda-star-this.cpp')
-rw-r--r--test/CodeGenCXX/cxx1z-lambda-star-this.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGenCXX/cxx1z-lambda-star-this.cpp b/test/CodeGenCXX/cxx1z-lambda-star-this.cpp
index 379dbfd681..114791c655 100644
--- a/test/CodeGenCXX/cxx1z-lambda-star-this.cpp
+++ b/test/CodeGenCXX/cxx1z-lambda-star-this.cpp
@@ -10,7 +10,7 @@ namespace ns1 {
int X = A{}.foo()();
} //end ns1
-//CHECK: @"\01?foo@A@@QAE?A?<auto>@@XZ"(%struct.A* %this, %class.anon* noalias sret %[[A_LAMBDA_RETVAL:.*]])
+//CHECK: @"?foo@A@@QAE?A?<auto>@@XZ"(%struct.A* %this, %class.anon* noalias sret %[[A_LAMBDA_RETVAL:.*]])
// get the first object with the closure type, which is of type 'struct.A'
//CHECK: %[[I0:.+]] = getelementptr inbounds %[[A_LAMBDA]], %[[A_LAMBDA]]* %[[A_LAMBDA_RETVAL]], i32 0, i32 0
//CHECK: %[[I1:.+]] = bitcast %struct.A* %[[I0]] to i8*
@@ -26,6 +26,6 @@ struct B {
namespace ns2 {
int X = B{}.bar()();
}
-//CHECK: @"\01?bar@B@@QAE?A?<auto>@@XZ"(%struct.B* %this, %class.anon.0* noalias sret %agg.result)
+//CHECK: @"?bar@B@@QAE?A?<auto>@@XZ"(%struct.B* %this, %class.anon.0* noalias sret %agg.result)
//CHECK: %[[I20:.+]] = getelementptr inbounds %class.anon.0, %class.anon.0* %agg.result, i32 0, i32 0
//CHECK: store %struct.B* %this1, %struct.B** %[[I20]], align 4