summaryrefslogtreecommitdiffstats
path: root/clang/test/Analysis/MismatchedDeallocator-path-notes.cpp
diff options
context:
space:
mode:
authorDominic Chen <d.c.ddcc@gmail.com>2017-02-27 02:36:15 +0000
committerDominic Chen <d.c.ddcc@gmail.com>2017-02-27 02:36:15 +0000
commit02064a307691b6fa127dd08244e4faa7602e9876 (patch)
tree9d17e23558b5c35898a6712575da7da204d1b23b /clang/test/Analysis/MismatchedDeallocator-path-notes.cpp
parent3255a52200830318f8dd270295750dbde2a94b7f (diff)
downloadbcm5719-llvm-02064a307691b6fa127dd08244e4faa7602e9876.tar.gz
bcm5719-llvm-02064a307691b6fa127dd08244e4faa7602e9876.zip
[analyzer] NFC: Update test infrastructure to support multiple constraint managers
Summary: Replace calls to %clang/%clang_cc1 with %clang_analyze_cc1 when invoking static analyzer, and perform runtime substitution to select the appropriate constraint manager, per D28952. Reviewers: xazax.hun, NoQ, zaks.anna, dcoughlin Subscribers: mgorny, rgov, mikhail.ramalho, a.sidorin, cfe-commits Differential Revision: https://reviews.llvm.org/D30373 llvm-svn: 296312
Diffstat (limited to 'clang/test/Analysis/MismatchedDeallocator-path-notes.cpp')
-rw-r--r--clang/test/Analysis/MismatchedDeallocator-path-notes.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/Analysis/MismatchedDeallocator-path-notes.cpp b/clang/test/Analysis/MismatchedDeallocator-path-notes.cpp
index 1c8c80cf21b..118f23bca11 100644
--- a/clang/test/Analysis/MismatchedDeallocator-path-notes.cpp
+++ b/clang/test/Analysis/MismatchedDeallocator-path-notes.cpp
@@ -1,5 +1,5 @@
-// RUN: %clang_cc1 -analyze -analyzer-checker=core,unix.MismatchedDeallocator -analyzer-output=text -verify %s
-// RUN: %clang_cc1 -analyze -analyzer-checker=core,unix.MismatchedDeallocator -analyzer-output=plist -analyzer-config path-diagnostics-alternate=false %s -o %t.plist
+// RUN: %clang_analyze_cc1 -analyzer-checker=core,unix.MismatchedDeallocator -analyzer-output=text -verify %s
+// RUN: %clang_analyze_cc1 -analyzer-checker=core,unix.MismatchedDeallocator -analyzer-output=plist -analyzer-config path-diagnostics-alternate=false %s -o %t.plist
// RUN: FileCheck --input-file=%t.plist %s
void changePointee(int *p);
OpenPOWER on IntegriCloud