diff options
Diffstat (limited to 'clang/test/CodeGenCXX/delete.cpp')
-rw-r--r-- | clang/test/CodeGenCXX/delete.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/clang/test/CodeGenCXX/delete.cpp b/clang/test/CodeGenCXX/delete.cpp index d11608ef6f5..cdd5a89963e 100644 --- a/clang/test/CodeGenCXX/delete.cpp +++ b/clang/test/CodeGenCXX/delete.cpp @@ -19,7 +19,7 @@ struct T { int a; }; -// CHECK: define void @_Z2t4P1T +// CHECK-LABEL: define void @_Z2t4P1T void t4(T *t) { // CHECK: call void @_ZN1TD1Ev // CHECK-NEXT: bitcast @@ -46,7 +46,7 @@ namespace test0 { ~A() {} }; - // CHECK: define void @_ZN5test04testEPNS_1AE( + // CHECK-LABEL: define void @_ZN5test04testEPNS_1AE( void test(A *a) { // CHECK: call void @_ZN5test01AD1Ev // CHECK-NEXT: bitcast @@ -54,8 +54,8 @@ namespace test0 { delete a; } - // CHECK: define linkonce_odr void @_ZN5test01AD1Ev(%"struct.test0::A"* %this) unnamed_addr - // CHECK: define linkonce_odr void @_ZN5test01AdlEPv + // CHECK-LABEL: define linkonce_odr void @_ZN5test01AD1Ev(%"struct.test0::A"* %this) unnamed_addr + // CHECK-LABEL: define linkonce_odr void @_ZN5test01AdlEPv } namespace test1 { @@ -64,7 +64,7 @@ namespace test1 { ~A(); }; - // CHECK: define void @_ZN5test14testEPA10_A20_NS_1AE( + // CHECK-LABEL: define void @_ZN5test14testEPA10_A20_NS_1AE( void test(A (*arr)[10][20]) { delete [] arr; // CHECK: icmp eq [10 x [20 x [[A:%.*]]]]* [[PTR:%.*]], null @@ -88,7 +88,7 @@ namespace test1 { } namespace test2 { - // CHECK: define void @_ZN5test21fEPb + // CHECK-LABEL: define void @_ZN5test21fEPb void f(bool *b) { // CHECK: call void @_ZdlPv(i8* delete b; @@ -111,7 +111,7 @@ namespace test4 { void operator delete (void *); }; - // CHECK: define void @_ZN5test421global_delete_virtualEPNS_1XE + // CHECK-LABEL: define void @_ZN5test421global_delete_virtualEPNS_1XE void global_delete_virtual(X *xp) { // Load the offset-to-top from the vtable and apply it. // This has to be done first because the dtor can mess it up. @@ -136,7 +136,7 @@ namespace test4 { namespace test5 { struct Incomplete; - // CHECK: define void @_ZN5test523array_delete_incompleteEPNS_10IncompleteES1_ + // CHECK-LABEL: define void @_ZN5test523array_delete_incompleteEPNS_10IncompleteES1_ void array_delete_incomplete(Incomplete *p1, Incomplete *p2) { // CHECK: call void @_ZdlPv delete p1; |