summaryrefslogtreecommitdiff
path: root/clang/test/Analysis/inlining/path-notes.m
diff options
context:
space:
mode:
authorDominic Chen <d.c.ddcc@gmail.com>2017-02-28 00:02:36 +0000
committerDominic Chen <d.c.ddcc@gmail.com>2017-02-28 00:02:36 +0000
commit59cd89332010b22e82c3110d558ff37948c4df1e (patch)
tree56b9296358b288f295f9e82f6bc036a03c087dad /clang/test/Analysis/inlining/path-notes.m
parente94042cafe2cd0b4821298c88a2265755bc0e0c9 (diff)
downloadllvm-59cd89332010b22e82c3110d558ff37948c4df1e.tar.gz
Reland: [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: 296414
Diffstat (limited to 'clang/test/Analysis/inlining/path-notes.m')
-rw-r--r--clang/test/Analysis/inlining/path-notes.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/Analysis/inlining/path-notes.m b/clang/test/Analysis/inlining/path-notes.m
index d9b5a5820fe5..7f60ff8e3200 100644
--- a/clang/test/Analysis/inlining/path-notes.m
+++ b/clang/test/Analysis/inlining/path-notes.m
@@ -1,5 +1,5 @@
-// RUN: %clang_cc1 -analyze -analyzer-checker=core,osx.cocoa.NilArg,osx.cocoa.RetainCount -analyzer-output=text -analyzer-config suppress-null-return-paths=false -fblocks -verify %s
-// RUN: %clang_cc1 -analyze -analyzer-checker=core,osx.cocoa.NilArg,osx.cocoa.RetainCount -analyzer-output=plist-multi-file -analyzer-config suppress-null-return-paths=false -analyzer-config path-diagnostics-alternate=false -fblocks %s -o %t.plist
+// RUN: %clang_analyze_cc1 -analyzer-checker=core,osx.cocoa.NilArg,osx.cocoa.RetainCount -analyzer-output=text -analyzer-config suppress-null-return-paths=false -fblocks -verify %s
+// RUN: %clang_analyze_cc1 -analyzer-checker=core,osx.cocoa.NilArg,osx.cocoa.RetainCount -analyzer-output=plist-multi-file -analyzer-config suppress-null-return-paths=false -analyzer-config path-diagnostics-alternate=false -fblocks %s -o %t.plist
// RUN: FileCheck --input-file=%t.plist %s
typedef struct dispatch_queue_s *dispatch_queue_t;