summaryrefslogtreecommitdiffstats
path: root/clang/test/Analysis/Malloc+MismatchedDeallocator+NewDelete.cpp
diff options
context:
space:
mode:
authorKristof Umann <dkszelethus@gmail.com>2018-12-17 12:07:57 +0000
committerKristof Umann <dkszelethus@gmail.com>2018-12-17 12:07:57 +0000
commit09e86e77c903f7be16a4924c543800428eaf9a6d (patch)
treec8214af1a0bb8f58b42ed0ff09288096f8fcd4f4 /clang/test/Analysis/Malloc+MismatchedDeallocator+NewDelete.cpp
parent357973192d2eb45aa8c36b02cfef84d5d533d9d0 (diff)
downloadbcm5719-llvm-09e86e77c903f7be16a4924c543800428eaf9a6d.tar.gz
bcm5719-llvm-09e86e77c903f7be16a4924c543800428eaf9a6d.zip
Revert rC349281 '[analyzer][MallocChecker][NFC] Document and reorganize some functions'
llvm-svn: 349340
Diffstat (limited to 'clang/test/Analysis/Malloc+MismatchedDeallocator+NewDelete.cpp')
-rw-r--r--clang/test/Analysis/Malloc+MismatchedDeallocator+NewDelete.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Analysis/Malloc+MismatchedDeallocator+NewDelete.cpp b/clang/test/Analysis/Malloc+MismatchedDeallocator+NewDelete.cpp
index e5176eb50ff..b5e47b3355d 100644
--- a/clang/test/Analysis/Malloc+MismatchedDeallocator+NewDelete.cpp
+++ b/clang/test/Analysis/Malloc+MismatchedDeallocator+NewDelete.cpp
@@ -46,7 +46,7 @@ void testMismatchedDeallocator() {
void testNewDoubleFree() {
int *p = new int;
delete p;
- delete p; // expected-warning{{Attempt to delete released memory}}
+ delete p; // expected-warning{{Attempt to free released memory}}
}
void testNewLeak() {
OpenPOWER on IntegriCloud