diff options
author | Anna Zaks <ganna@apple.com> | 2012-02-28 21:49:04 +0000 |
---|---|---|
committer | Anna Zaks <ganna@apple.com> | 2012-02-28 21:49:04 +0000 |
commit | c2994283aa7538b7420c8e398cde7afa328d7042 (patch) | |
tree | 3df0da900674de011b99f24081e06e67de26a503 /test/Analysis/stats.c | |
parent | 670326f414ca3f8f2cb1ad2f8bd42d5804b563c8 (diff) | |
download | clang-c2994283aa7538b7420c8e398cde7afa328d7042.tar.gz |
[analyzer] Stats: Add the stats about remove dead bindings, correct the
test.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@151656 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Analysis/stats.c')
-rw-r--r-- | test/Analysis/stats.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/Analysis/stats.c b/test/Analysis/stats.c index dbe11608ed..79cc7c3aea 100644 --- a/test/Analysis/stats.c +++ b/test/Analysis/stats.c @@ -1,7 +1,7 @@ -// RUN: %clang_cc1 -analyze -analyzer-stats %s 2>&1 | FileCheck %s -// XFAIL: * +// RUN: %clang_cc1 -analyze -analyzer-checker=core -analyzer-stats %s > FileCheck %s void foo() { - ; + int x; } // CHECK: ... Statistics Collected ... +// CHECK:The # of times RemoveDeadBindings is called |