r181541 - Fix captured statements codegen test on ARM
Ben Langmuir
ben.langmuir at intel.com
Thu May 9 13:42:43 PDT 2013
Author: benlangmuir
Date: Thu May 9 15:42:43 2013
New Revision: 181541
URL: http://llvm.org/viewvc/llvm-project?rev=181541&view=rev
Log:
Fix captured statements codegen test on ARM
The return type of the destructor may vary between platforms, so stop
inadvertently testing it.
Modified:
cfe/trunk/test/CodeGenCXX/captured-statements.cpp
Modified: cfe/trunk/test/CodeGenCXX/captured-statements.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/captured-statements.cpp?rev=181541&r1=181540&r2=181541&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/captured-statements.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/captured-statements.cpp Thu May 9 15:42:43 2013
@@ -34,7 +34,7 @@ void test1() {
// CHECK-1: store %struct.Foo* %f, %struct.Foo**
// CHECK-1: getelementptr inbounds %[[Capture]]* %{{[^,]*}}, i32 0, i32 1
// CHECK-1: call void @[[HelperName:[A-Za-z0-9_]+]](%[[Capture]]*
- // CHECK-1: call void @_ZN3FooD1Ev
+ // CHECK-1: call {{.*}}FooD1Ev
// CHECK-1: ret
}
@@ -93,5 +93,5 @@ void test4() {
//
// CHECK-4: define internal void @[[HelperName]]
// CHECK-4: store i32 5, i32*
- // CHECK-4: call void @{{.*}}FooD1Ev(%struct.Foo*
+ // CHECK-4: call {{.*}}FooD1Ev
}
More information about the cfe-commits
mailing list