diff options
| author | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2013-05-15 21:40:27 +0200 |
|---|---|---|
| committer | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2013-05-15 21:40:27 +0200 |
| commit | b0274c7c30af17c0255846bcd53cac4f7d76ddea (patch) | |
| tree | 4243e33459039a96c26557de48f989e85c925a4c /test/CodeGenCXX/captured-statements.cpp | |
| parent | 38f7a3147aad1e25d0738356519cf9235f5c80b7 (diff) | |
| parent | cce70c7c5f0f4c1a41658fbed845f8b3a565c99c (diff) | |
| download | clang-embtk-support-master.tar.gz clang-embtk-support-master.tar.bz2 clang-embtk-support-master.tar.xz | |
Merge branch 'master' into embtk-support-masterembtk-support-master
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
Diffstat (limited to 'test/CodeGenCXX/captured-statements.cpp')
| -rw-r--r-- | test/CodeGenCXX/captured-statements.cpp | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/test/CodeGenCXX/captured-statements.cpp b/test/CodeGenCXX/captured-statements.cpp index 91c7ff28f0..cfa6936111 100644 --- a/test/CodeGenCXX/captured-statements.cpp +++ b/test/CodeGenCXX/captured-statements.cpp @@ -55,9 +55,9 @@ void test2(int x) { }(); // CHECK-2: define void @_Z5test2i - // CHECK-2: call i32 @[[Lambda:["$\w]+]] + // CHECK-2: call {{.*}} @[[Lambda:["$\w]+]] // - // CHECK-2: define internal i32 @[[Lambda]] + // CHECK-2: define internal {{.*}} @[[Lambda]] // CHECK-2: call void @[[HelperName:["$_A-Za-z0-9]+]](%[[Capture:.*]]* // // CHECK-2: define internal void @[[HelperName]] @@ -74,7 +74,7 @@ void test3(int x) { // CHECK-3: %[[Capture:struct\.anon[\.0-9]*]] = type { i32* } - // CHECK-3: define void @_Z5test3i(i32 %x) + // CHECK-3: define void @_Z5test3i // CHECK-3: store i32* // CHECK-3: call void @{{.*}}__captured_stmt // CHECK-3: ret void @@ -86,10 +86,7 @@ void test4() { Foo f; f.x = 5; } - // CHECK-4: %[[Capture:struct\.anon[\.0-9]*]] = type { i32* } - - // CHECK-4: define void @_Z5test3i(i32 %x) - // CHECK-4: store i32* + // CHECK-4: define void @_Z5test4v // CHECK-4: call void @[[HelperName:["$_A-Za-z0-9]+]](%[[Capture:.*]]* // CHECK-4: ret void // |
