commit | 68eb4c25e961d18f82b47a0a385f90d7af09bcc3 | [log] [tgz] |
---|---|---|
author | Anna Zaks <ganna@apple.com> | Sat Apr 06 00:41:36 2013 +0000 |
committer | Anna Zaks <ganna@apple.com> | Sat Apr 06 00:41:36 2013 +0000 |
tree | 3d5d3f87204a05f0b0dc7ec68cfd23871d203d13 | |
parent | cb3443925f967b5d51e582b39e28f67d41d73199 [diff] [blame] |
[analyzer] Shorten the malloc checker’s leak message As per Ted’s suggestion! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@178938 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Analysis/Malloc+NewDelete_intersections.cpp b/test/Analysis/Malloc+NewDelete_intersections.cpp index 5ce9e3c..3106636 100644 --- a/test/Analysis/Malloc+NewDelete_intersections.cpp +++ b/test/Analysis/Malloc+NewDelete_intersections.cpp
@@ -12,4 +12,4 @@ void testMismatchedDeallocator() { int *p = (int *)malloc(sizeof(int)); delete p; -} // expected-warning{{Memory is never released; potential leak of memory pointed to by 'p'}} +} // expected-warning{{Potential leak of memory pointed to by 'p'}}