summaryrefslogtreecommitdiffstats
path: root/clang/test/Analysis/inlining/path-notes.c
diff options
context:
space:
mode:
authorDominic Chen <d.c.ddcc@gmail.com>2017-03-03 18:02:02 +0000
committerDominic Chen <d.c.ddcc@gmail.com>2017-03-03 18:02:02 +0000
commit184c6242faca0be0188611d45b41235e68ef282a (patch)
tree665c12a7810e2719b93cb0fa9b0b8cafea9e2ecd /clang/test/Analysis/inlining/path-notes.c
parent58e241896db3fd52df5414f867406c4b333bf590 (diff)
downloadbcm5719-llvm-184c6242faca0be0188611d45b41235e68ef282a.tar.gz
bcm5719-llvm-184c6242faca0be0188611d45b41235e68ef282a.zip
Reland 4: [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: 296895
Diffstat (limited to 'clang/test/Analysis/inlining/path-notes.c')
-rw-r--r--clang/test/Analysis/inlining/path-notes.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/Analysis/inlining/path-notes.c b/clang/test/Analysis/inlining/path-notes.c
index 403d33db485..95adee30a9a 100644
--- a/clang/test/Analysis/inlining/path-notes.c
+++ b/clang/test/Analysis/inlining/path-notes.c
@@ -1,5 +1,5 @@
-// RUN: %clang_cc1 -analyze -analyzer-checker=core -analyzer-output=text -analyzer-config suppress-null-return-paths=false -verify %s
-// RUN: %clang_cc1 -analyze -analyzer-checker=core -analyzer-output=plist-multi-file -analyzer-config suppress-null-return-paths=false -analyzer-config path-diagnostics-alternate=false %s -o %t.plist
+// RUN: %clang_analyze_cc1 -analyzer-checker=core -analyzer-output=text -analyzer-config suppress-null-return-paths=false -verify %s
+// RUN: %clang_analyze_cc1 -analyzer-checker=core -analyzer-output=plist-multi-file -analyzer-config suppress-null-return-paths=false -analyzer-config path-diagnostics-alternate=false %s -o %t.plist
// RUN: FileCheck --input-file=%t.plist %s
void zero(int **p) {
OpenPOWER on IntegriCloud