summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/temporary-lifetime.cpp
diff options
context:
space:
mode:
authorTim Shen <timshen91@gmail.com>2016-07-01 22:50:00 +0000
committerTim Shen <timshen91@gmail.com>2016-07-01 22:50:00 +0000
commit53547d95ca31ad404a1846500ecea6417817cd6d (patch)
treeec845bdcb77dd0f82aabd41a168ee23ca3935858 /clang/test/CodeGen/temporary-lifetime.cpp
parentb736335dc3e3aca2c2dd0cfb676d00e119e3cc91 (diff)
downloadbcm5719-llvm-53547d95ca31ad404a1846500ecea6417817cd6d.tar.gz
bcm5719-llvm-53547d95ca31ad404a1846500ecea6417817cd6d.zip
Removes CHECKs for symbolic label names (as Debug Clang will generate).
Differential Revision: http://reviews.llvm.org/D20499 llvm-svn: 274396
Diffstat (limited to 'clang/test/CodeGen/temporary-lifetime.cpp')
-rw-r--r--clang/test/CodeGen/temporary-lifetime.cpp15
1 files changed, 10 insertions, 5 deletions
diff --git a/clang/test/CodeGen/temporary-lifetime.cpp b/clang/test/CodeGen/temporary-lifetime.cpp
index 980c2e3161d..f6dd3e0b2a5 100644
--- a/clang/test/CodeGen/temporary-lifetime.cpp
+++ b/clang/test/CodeGen/temporary-lifetime.cpp
@@ -87,11 +87,14 @@ void Test3() {
// CHECK-DTOR-LABEL: Test3
// CHECK-DTOR: call void @llvm.lifetime.start
// CHECK-DTOR: call void @llvm.lifetime.start
- // CHECK-DTOR: if.then:
+
+ // if.then:
// CHECK-DTOR: call void @llvm.lifetime.end
- // CHECK-DTOR: cleanup{{.*}}:
+
+ // cleanup:
// CHECK-DTOR: call void @llvm.lifetime.end
- // CHECK-DTOR: cleanup{{.*}}:
+
+ // cleanup:
// CHECK-DTOR: call void @llvm.lifetime.end
// CHECK-DTOR: }
const A &a = A{};
@@ -105,9 +108,11 @@ void Test3() {
void Test4() {
// CHECK-DTOR-LABEL: Test4
// CHECK-DTOR: call void @llvm.lifetime.start
- // CHECK-DTOR: for.cond.cleanup:
+
+ // for.cond.cleanup:
// CHECK-DTOR: call void @llvm.lifetime.end
- // CHECK-DTOR: for.body:
+
+ // for.body:
// CHECK-DTOR: }
for (const A &a = A{}; a;) {
Foo(a);
OpenPOWER on IntegriCloud