[cfe-commits] r56441 - /cfe/trunk/utils/scan-build

Ted Kremenek kremenek at apple.com
Mon Sep 22 10:38:23 PDT 2008


Author: kremenek
Date: Mon Sep 22 12:38:23 2008
New Revision: 56441

URL: http://llvm.org/viewvc/llvm-project?rev=56441&view=rev
Log:
Don't print out the path length.

Modified:
    cfe/trunk/utils/scan-build

Modified: cfe/trunk/utils/scan-build
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/utils/scan-build?rev=56441&r1=56440&r2=56441&view=diff

==============================================================================
--- cfe/trunk/utils/scan-build (original)
+++ cfe/trunk/utils/scan-build Mon Sep 22 12:38:23 2008
@@ -388,8 +388,7 @@
     $BugCategory = "Other";
   }
     
-  push @$Index,[ $FName, $BugCategory, $BugDesc, $BugFile, $BugLine,
-                 $BugPathLength ];
+  push @$Index,[ $FName, $BugCategory, $BugDesc, $BugFile, $BugLine ];
 }
 
 ##----------------------------------------------------------------------------##
@@ -601,7 +600,6 @@
   <td class="sorttable_sorted">Bug Type<span id="sorttable_sortfwdind"> &#x25BE;</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 @@
       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 $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"; }





More information about the cfe-commits mailing list