summaryrefslogtreecommitdiffstats
path: root/clang/test/Analysis/NewDelete-path-notes.cpp
diff options
context:
space:
mode:
authorAnton Yartsev <anton.yartsev@gmail.com>2013-03-30 00:50:37 +0000
committerAnton Yartsev <anton.yartsev@gmail.com>2013-03-30 00:50:37 +0000
commit3dfc33e3aca1209ba7dfd8dde7bba3e73502962f (patch)
treefac87b3cb8d0c351d050fc64b706a0aaa94fde54 /clang/test/Analysis/NewDelete-path-notes.cpp
parentfa637577f999f94b3b591f22724100f596b4355e (diff)
downloadbcm5719-llvm-3dfc33e3aca1209ba7dfd8dde7bba3e73502962f.tar.gz
bcm5719-llvm-3dfc33e3aca1209ba7dfd8dde7bba3e73502962f.zip
[analyzer] Enabled unix.Malloc checker.
+ Refactoring. llvm-svn: 178388
Diffstat (limited to 'clang/test/Analysis/NewDelete-path-notes.cpp')
-rw-r--r--clang/test/Analysis/NewDelete-path-notes.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/Analysis/NewDelete-path-notes.cpp b/clang/test/Analysis/NewDelete-path-notes.cpp
index 296170a541d..83e6e9f06a6 100644
--- a/clang/test/Analysis/NewDelete-path-notes.cpp
+++ b/clang/test/Analysis/NewDelete-path-notes.cpp
@@ -1,5 +1,5 @@
-// RUN: %clang_cc1 -analyze -analyzer-checker=cplusplus.NewDelete -analyzer-output=text -verify %s
-// RUN: %clang_cc1 -analyze -analyzer-checker=cplusplus.NewDelete -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() {
OpenPOWER on IntegriCloud