[analyzer] Fix scan-build's -stats mode.
authorJordan Rose <jordan_rose@apple.com>
Thu, 14 Mar 2013 17:18:30 +0000 (17:18 +0000)
committerJordan Rose <jordan_rose@apple.com>
Thu, 14 Mar 2013 17:18:30 +0000 (17:18 +0000)
commit529e239aee123eaec6d16f2949faa7d4b1db5172
tree1e2406ec7adcaadb748815cdbbfc490c2f08af63
parentead1696fa6cd82d164c52ef546afa303d829e1c8
[analyzer] Fix scan-build's -stats mode.

We were failing to match the output line, which led to us collecting no
stats at all, which led to a divide-by-zero error.

Fixes PR15510.

llvm-svn: 177084
clang/test/Analysis/analyzer-stats.c
clang/tools/scan-build/scan-build