summaryrefslogtreecommitdiffstats
path: root/test/Analysis/pr22954.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
commit2cfd901321423a96edd8513afc7c7c2bb0d18b2e (patch)
tree37871613ab679cebbc2b2cf73baf7896e79c31cb /test/Analysis/pr22954.c
parent2c51aa76c4f3364ecb9e0b6b730aec14ae396fc9 (diff)
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 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@296895 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Analysis/pr22954.c')
-rw-r--r--test/Analysis/pr22954.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Analysis/pr22954.c b/test/Analysis/pr22954.c
index 01aa5b34a7..64a00c5ec0 100644
--- a/test/Analysis/pr22954.c
+++ b/test/Analysis/pr22954.c
@@ -3,7 +3,7 @@
// At the moment the whole of the destination array content is invalidated.
// If a.s1 region has a symbolic offset, the whole region of 'a' is invalidated.
// Specific triple set to test structures of size 0.
-// RUN: %clang_cc1 -triple x86_64-pc-linux-gnu -analyze -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-store=region -verify %s
+// RUN: %clang_analyze_cc1 -triple x86_64-pc-linux-gnu -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-store=region -verify %s
typedef __typeof(sizeof(int)) size_t;