From: Ted Kremenek Date: Mon, 22 Sep 2008 17:42:31 +0000 (+0000) Subject: Don't emit link to source file. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=91639ef5aa2bd94c14ae872cf747c58174ffe9b8;p=clang 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 e0a3ce8ab0..44ad1a4a12 100755 --- a/utils/scan-build +++ b/utils/scan-build @@ -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 ""; - my $has_fname = 0; - if (-r $full_fname) { - $has_fname = 1; - print OUT "" - } - + print OUT ""; my @fname = split /\//,$fname; if ($#fname > 0) { while ($#fname >= 0) { @@ -659,11 +652,7 @@ ENDTEXT } else { print OUT $fname; - } - - if ($has_fname) { - print OUT "" - } + } print OUT ""; # Print out the quantities.