diff options
author | Sylvestre Ledru <sylvestre@debian.org> | 2014-05-23 16:47:42 +0000 |
---|---|---|
committer | Sylvestre Ledru <sylvestre@debian.org> | 2014-05-23 16:47:42 +0000 |
commit | 5f630f248962ed9463f0f8284eeb5cdece40fc5a (patch) | |
tree | 07d00e9dfad8dd5d396be0c99821e0a8ae2ea6a1 /tools | |
parent | 32f41f23085850f5fdd788e7b74b86d3544a3a30 (diff) | |
download | clang-5f630f248962ed9463f0f8284eeb5cdece40fc5a.tar.gz clang-5f630f248962ed9463f0f8284eeb5cdece40fc5a.tar.bz2 clang-5f630f248962ed9463f0f8284eeb5cdece40fc5a.tar.xz |
revert "r209526 List the function/method name in the index page of scan-build "
Depends on http://reviews.llvm.org/D3762
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@209527 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/scan-build/scan-build | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/tools/scan-build/scan-build b/tools/scan-build/scan-build index c444249c0a..7502a42432 100755 --- a/tools/scan-build/scan-build +++ b/tools/scan-build/scan-build @@ -368,7 +368,6 @@ sub ScanFile { my $BugType = ""; my $BugFile = ""; - my $BugFunction = ""; my $BugCategory = ""; my $BugDescription = ""; my $BugPathLength = 1; @@ -396,10 +395,6 @@ sub ScanFile { elsif (/<!-- BUGDESC (.*) -->$/) { $BugDescription = $1; } - elsif (/<!-- FUNCTIONNAME (.*) -->$/) { - $BugFunction = $1; - } - } close(IN); @@ -414,7 +409,7 @@ sub ScanFile { return; } - push @$Index,[ $FName, $BugCategory, $BugType, $BugFile, $BugFunction, $BugLine, + push @$Index,[ $FName, $BugCategory, $BugType, $BugFile, $BugLine, $BugPathLength ]; } @@ -704,7 +699,6 @@ print OUT <<ENDTEXT; <td>Bug Group</td> <td class="sorttable_sorted">Bug Type<span id="sorttable_sortfwdind"> ▾</span></td> <td>File</td> - <td>Function/Method</td> <td class="Q">Line</td> <td class="Q">Path Length</td> <td class="sorttable_nosort"></td> @@ -762,17 +756,13 @@ ENDTEXT } print OUT "</td>"; - print OUT "<td class=\"DESC\">"; - print OUT $row->[4]; - print OUT "</td>"; - # Print out the quantities. - for my $j ( 5 .. 6 ) { + for my $j ( 4 .. 5 ) { print OUT "<td class=\"Q\">$row->[$j]</td>"; } # Print the rest of the columns. - for (my $j = 7; $j <= $#{$row}; ++$j) { + for (my $j = 6; $j <= $#{$row}; ++$j) { print OUT "<td>$row->[$j]</td>" } |