diff options
author | Ted Kremenek <kremenek@apple.com> | 2008-09-22 17:38:23 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2008-09-22 17:38:23 +0000 |
commit | a026fd3c01f181d037c79b1d590a2d7d36944ffc (patch) | |
tree | d33294a32fa227301a6d569db3104f3d99327e18 /clang/utils | |
parent | b76a3f44ec6ec35133cdc0748ff0e171e23060ee (diff) | |
download | bcm5719-llvm-a026fd3c01f181d037c79b1d590a2d7d36944ffc.tar.gz bcm5719-llvm-a026fd3c01f181d037c79b1d590a2d7d36944ffc.zip |
Don't print out the path length.
llvm-svn: 56441
Diffstat (limited to 'clang/utils')
-rwxr-xr-x | clang/utils/scan-build | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/clang/utils/scan-build b/clang/utils/scan-build index 4105c37cf36..09e99c30964 100755 --- a/clang/utils/scan-build +++ b/clang/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 <<ENDTEXT; <td class="sorttable_sorted">Bug Type<span id="sorttable_sortfwdind"> ▾</span></td> <td>File</td> <td class="Q">Line</td> - <td class="Q">Path Length</td> <td class="sorttable_nosort"></td> <!-- REPORTBUGCOL --> </tr></thead> @@ -669,12 +667,12 @@ ENDTEXT print OUT "</td>"; # Print out the quantities. - for my $j ( 4 .. 5 ) { + for my $j ( 4 .. 4 ) { print OUT "<td class=\"Q\">$row->[$j]</td>"; } # Print the rest of the columns. - for (my $j = 6; $j <= $#{$row}; ++$j) { + for (my $j = 5; $j <= $#{$row}; ++$j) { print OUT "<td>$row->[$j]</td>" } @@ -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"; } |