Don't emit link to source file.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56443 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/utils/scan-build b/utils/scan-build
index e0a3ce8..44ad1a4 100755
--- a/utils/scan-build
+++ b/utils/scan-build
@@ -633,20 +633,13 @@
# 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 @@
}
else {
print OUT $fname;
- }
-
- if ($has_fname) {
- print OUT "</a>"
- }
+ }
print OUT "</td>";
# Print out the quantities.