summaryrefslogtreecommitdiff
path: root/test/Analysis/keychainAPI-diagnostic-visitor.m
diff options
context:
space:
mode:
authorDominic Chen <d.c.ddcc@gmail.com>2017-03-02 22:45:24 +0000
committerDominic Chen <d.c.ddcc@gmail.com>2017-03-02 22:45:24 +0000
commitf93343c099fff646a2314cc7f4925833708298b1 (patch)
treebdd19e13039527a15dc7bdb59c43c2533ce28fcd /test/Analysis/keychainAPI-diagnostic-visitor.m
parentcf2a38c652b8340e57c059fc861d0a5974bf94a5 (diff)
downloadclang-f93343c099fff646a2314cc7f4925833708298b1.tar.gz
Reland 2: [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 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@296835 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Analysis/keychainAPI-diagnostic-visitor.m')
-rw-r--r--test/Analysis/keychainAPI-diagnostic-visitor.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Analysis/keychainAPI-diagnostic-visitor.m b/test/Analysis/keychainAPI-diagnostic-visitor.m
index a78b114a00..d8da697a41 100644
--- a/test/Analysis/keychainAPI-diagnostic-visitor.m
+++ b/test/Analysis/keychainAPI-diagnostic-visitor.m
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -analyze -analyzer-checker=osx.SecKeychainAPI -analyzer-store=region -analyzer-output=text -verify %s
+// RUN: %clang_analyze_cc1 -triple x86_64-apple-darwin10 -analyzer-checker=osx.SecKeychainAPI -analyzer-store=region -analyzer-output=text -verify %s
// This file is for testing enhanced diagnostics produced by the default SecKeychainAPI checker.