diff options
author | Ted Kremenek <kremenek@apple.com> | 2008-09-28 04:13:09 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2008-09-28 04:13:09 +0000 |
commit | 81983111dfa43e5f6b21b221c959586a6a766e76 (patch) | |
tree | 3a3305c83380076253c5e9e77a86292bdef8ad3f | |
parent | 59f5394648e1d86f3df09ce900658199e8bfcb96 (diff) |
Add "Path Length" back to the table of bug reports.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56765 91177308-0d34-0410-b5e6-96231b3b80d8
-rwxr-xr-x | utils/scan-build | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/utils/scan-build b/utils/scan-build index 1dc1770f58..160b00ce8a 100755 --- a/utils/scan-build +++ b/utils/scan-build @@ -388,7 +388,8 @@ sub ScanFile { $BugCategory = "Other"; } - push @$Index,[ $FName, $BugCategory, $BugDesc, $BugFile, $BugLine ]; + push @$Index,[ $FName, $BugCategory, $BugDesc, $BugFile, $BugLine, + $BugPathLength ]; } ##----------------------------------------------------------------------------## @@ -575,6 +576,7 @@ 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> @@ -631,12 +633,12 @@ ENDTEXT print OUT "</td>"; # Print out the quantities. - for my $j ( 4 .. 4 ) { + for my $j ( 4 .. 5 ) { print OUT "<td class=\"Q\">$row->[$j]</td>"; } # Print the rest of the columns. - for (my $j = 5; $j <= $#{$row}; ++$j) { + for (my $j = 6; $j <= $#{$row}; ++$j) { print OUT "<td>$row->[$j]</td>" } |