summaryrefslogtreecommitdiffstats
path: root/test/Analysis/copypaste/suspicious-clones.cpp
diff options
context:
space:
mode:
authorDominic Chen <d.c.ddcc@gmail.com>2017-03-02 23:05:45 +0000
committerDominic Chen <d.c.ddcc@gmail.com>2017-03-02 23:05:45 +0000
commitea36f1406e1f36bf456c3f3929839b024128e468 (patch)
tree1037942420e8fa550ba4fac2c0689caa8b738ed5 /test/Analysis/copypaste/suspicious-clones.cpp
parent87c8f4133460db545a96feaf079005b3ef35e1dd (diff)
Reland 3: [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@296837 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Analysis/copypaste/suspicious-clones.cpp')
-rw-r--r--test/Analysis/copypaste/suspicious-clones.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Analysis/copypaste/suspicious-clones.cpp b/test/Analysis/copypaste/suspicious-clones.cpp
index c64a1dc8b8..3a760e2562 100644
--- a/test/Analysis/copypaste/suspicious-clones.cpp
+++ b/test/Analysis/copypaste/suspicious-clones.cpp
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -analyze -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:ReportSuspiciousClones=true -analyzer-config alpha.clone.CloneChecker:ReportNormalClones=false -verify %s
+// RUN: %clang_analyze_cc1 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:ReportSuspiciousClones=true -analyzer-config alpha.clone.CloneChecker:ReportNormalClones=false -verify %s
// Tests finding a suspicious clone that references local variables.