[cfe-commits] r56443 - /cfe/trunk/utils/scan-build
Ted Kremenek
kremenek at apple.com
Mon Sep 22 10:42:31 PDT 2008
Author: kremenek
Date: Mon Sep 22 12:42:31 2008
New Revision: 56443
URL: http://llvm.org/viewvc/llvm-project?rev=56443&view=rev
Log:
Don't emit link to source file.
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=56443&r1=56442&r2=56443&view=diff
==============================================================================
--- cfe/trunk/utils/scan-build (original)
+++ cfe/trunk/utils/scan-build Mon Sep 22 12:42:31 2008
@@ -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.
More information about the cfe-commits
mailing list