diff options
author | Bill Wendling <isanbard@gmail.com> | 2013-02-22 09:10:20 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2013-02-22 09:10:20 +0000 |
commit | 4e1125f630e75a52209b928e9d43b638abf39987 (patch) | |
tree | deb1d148cfd872bc06a047c1f9f8dcf1ba614ffe /test/CodeGenCXX/delete.cpp | |
parent | 68ea3aeff1be9412658f4c96fdab0d8ad875be6c (diff) |
Update to use references to attribute groups instead of listing the attributes on the call/invoke instructions.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@175878 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenCXX/delete.cpp')
-rw-r--r-- | test/CodeGenCXX/delete.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/CodeGenCXX/delete.cpp b/test/CodeGenCXX/delete.cpp index 7a91ca8146..1299b29a03 100644 --- a/test/CodeGenCXX/delete.cpp +++ b/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{{.*}} } |