summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/delete.cpp
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2013-02-22 09:10:20 +0000
committerBill Wendling <isanbard@gmail.com>2013-02-22 09:10:20 +0000
commite1c4a1babd90ea097ef80df44011e977212c2e78 (patch)
treec8a4cf6471fcb59e39f19d8a21421daed9285b24 /clang/test/CodeGenCXX/delete.cpp
parenta032374ea0d069bff44045eee72ebdaa100ccc7a (diff)
downloadbcm5719-llvm-e1c4a1babd90ea097ef80df44011e977212c2e78.tar.gz
bcm5719-llvm-e1c4a1babd90ea097ef80df44011e977212c2e78.zip
Update to use references to attribute groups instead of listing the attributes on the call/invoke instructions.
llvm-svn: 175878
Diffstat (limited to 'clang/test/CodeGenCXX/delete.cpp')
-rw-r--r--clang/test/CodeGenCXX/delete.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/clang/test/CodeGenCXX/delete.cpp b/clang/test/CodeGenCXX/delete.cpp
index 7a91ca81463..1299b29a03a 100644
--- a/clang/test/CodeGenCXX/delete.cpp
+++ b/clang/test/CodeGenCXX/delete.cpp
@@ -129,7 +129,7 @@ namespace test4 {
// CHECK-NEXT: [[DTOR:%.*]] = load void ([[X]]*)** [[T0]]
// CHECK-NEXT: call void [[DTOR]]([[X]]* [[OBJ:%.*]])
// Call the global operator delete.
- // CHECK-NEXT: call void @_ZdlPv(i8* [[ALLOCATED]]) nounwind
+ // CHECK-NEXT: call void @_ZdlPv(i8* [[ALLOCATED]]) [[NUW:#[0-9]+]]
::delete xp;
}
}
@@ -144,3 +144,5 @@ namespace test5 {
delete [] p2;
}
}
+
+// CHECK: attributes [[NUW]] = { nounwind{{.*}} }
OpenPOWER on IntegriCloud