aboutsummaryrefslogtreecommitdiff
path: root/test/Analysis/NewDelete-path-notes.cpp
diff options
context:
space:
mode:
authorJordan Rose <jordan_rose@apple.com>2013-04-05 17:55:07 +0000
committerJordan Rose <jordan_rose@apple.com>2013-04-05 17:55:07 +0000
commite449edc5bdace60f9d754c32abc5459bc7d94a14 (patch)
treebf3ed7d5492620243d556a336546f4d9d31fb040 /test/Analysis/NewDelete-path-notes.cpp
parente85deb356f5d2d2172b7ef70314bc9cfc742a936 (diff)
[analyzer] Re-enable cplusplus.NewDelete (but not NewDeleteLeaks).
As mentioned in the previous commit message, the use-after-free and double-free warnings for 'delete' are worth enabling even while the leak warnings still have false positives. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@178891 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Analysis/NewDelete-path-notes.cpp')
-rw-r--r--test/Analysis/NewDelete-path-notes.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Analysis/NewDelete-path-notes.cpp b/test/Analysis/NewDelete-path-notes.cpp
index eeb610537b..83e6e9f06a 100644
--- a/test/Analysis/NewDelete-path-notes.cpp
+++ b/test/Analysis/NewDelete-path-notes.cpp
@@ -1,5 +1,5 @@
-// RUN: %clang_cc1 -analyze -analyzer-checker=alpha.cplusplus.NewDelete,unix.Malloc -analyzer-output=text -verify %s
-// RUN: %clang_cc1 -analyze -analyzer-checker=alpha.cplusplus.NewDelete,unix.Malloc -analyzer-output=plist %s -o %t.plist
+// RUN: %clang_cc1 -analyze -analyzer-checker=cplusplus.NewDelete,unix.Malloc -analyzer-output=text -verify %s
+// RUN: %clang_cc1 -analyze -analyzer-checker=cplusplus.NewDelete,unix.Malloc -analyzer-output=plist %s -o %t.plist
// RUN: FileCheck --input-file=%t.plist %s
void test() {