]> granicus.if.org Git - clang/commitdiff
Don't emit link to source file.
authorTed Kremenek <kremenek@apple.com>
Mon, 22 Sep 2008 17:42:31 +0000 (17:42 +0000)
committerTed Kremenek <kremenek@apple.com>
Mon, 22 Sep 2008 17:42:31 +0000 (17:42 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56443 91177308-0d34-0410-b5e6-96231b3b80d8

utils/scan-build

index e0a3ce8ab0bc9b517923dd325c05bf0e440cbf76..44ad1a4a121a5853ead649fbbf77eb902f11dea4 100755 (executable)
@@ -633,20 +633,13 @@ ENDTEXT
       
       # Update the file prefix.      
       my $fname = $row->[3];
-      my $full_fname = $fname;
 
       if (defined $regex) {
         $fname =~ s/$regex//;
         UpdateInFilePath("$Dir/$ReportFile", $InFileRegex, $InFilePrefix)
       }
       
-      print OUT "<td>";
-      my $has_fname = 0;
-      if (-r $full_fname) {
-        $has_fname = 1;
-        print OUT "<a href=\"$full_fname\">"
-      }
-      
+      print OUT "<td>";      
       my @fname = split /\//,$fname;
       if ($#fname > 0) {
         while ($#fname >= 0) {
@@ -659,11 +652,7 @@ ENDTEXT
       }
       else {
         print OUT $fname;
-      }
-      
-      if ($has_fname) {
-        print OUT "</a>"
-      }
+      }      
       print OUT "</td>";
       
       # Print out the quantities.