From: Ted Kremenek Date: Mon, 22 Sep 2008 17:38:23 +0000 (+0000) Subject: Don't print out the path length. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=50534dc3ab0737224f9ce739821e1486219c686b;p=clang Don't print out the path length. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56441 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/utils/scan-build b/utils/scan-build index 4105c37cf3..09e99c3096 100755 --- a/utils/scan-build +++ b/utils/scan-build @@ -388,8 +388,7 @@ sub ScanFile { $BugCategory = "Other"; } - push @$Index,[ $FName, $BugCategory, $BugDesc, $BugFile, $BugLine, - $BugPathLength ]; + push @$Index,[ $FName, $BugCategory, $BugDesc, $BugFile, $BugLine ]; } ##----------------------------------------------------------------------------## @@ -601,7 +600,6 @@ print OUT <Bug Type ▾ File Line - Path Length @@ -669,12 +667,12 @@ ENDTEXT print OUT ""; # Print out the quantities. - for my $j ( 4 .. 5 ) { + for my $j ( 4 .. 4 ) { print OUT "$row->[$j]"; } # Print the rest of the columns. - for (my $j = 6; $j <= $#{$row}; ++$j) { + for (my $j = 5; $j <= $#{$row}; ++$j) { print OUT "$row->[$j]" } @@ -1118,7 +1116,7 @@ my $ExitStatus = RunBuildCommand(\@ARGV, $IgnoreErrors, $Cmd); my $NumBugs = Postprocess($HtmlDir, $BaseDir); if ($ViewResults and -r "$HtmlDir/index.html") { - Diag 'analysis run complete.\n'; + Diag "Analysis run complete.\n"; Diag "Viewing analysis results in '$HtmlDir' using scan-view.\n"; my $ScanView = "$RealBin/scan-view"; if (! -x $ScanView) { $ScanView = "scan-view"; }