diff --git a/tools/scan-build/scan-build b/tools/scan-build/scan-build index 86c1744558..ae96bd09a6 100755 --- a/tools/scan-build/scan-build +++ b/tools/scan-build/scan-build @@ -1383,7 +1383,7 @@ if ($AnalyzeHeaders) { push @AnalysesToRun,"-analyzer-opt-analyze-headers"; } if ($AnalyzerStats) { - push @AnalysesToRun, '-analyzer-stats'; + push @AnalysesToRun, '-analyzer-checker', 'debug.Stats'; } if ($MaxLoop > 0) { push @AnalysesToRun, '-analyzer-max-loop ' . $MaxLoop;