scan-build: Remove useless whitespace in File path
authorSylvestre Ledru <sylvestre@debian.org>
Fri, 12 Jun 2015 15:50:27 +0000 (15:50 +0000)
committerSylvestre Ledru <sylvestre@debian.org>
Fri, 12 Jun 2015 15:50:27 +0000 (15:50 +0000)
Patch by Honggyu Kim

Summary:
This patch removes useless whitespace in File path in index.html
Previously, a File directory path is copied and pasted as below:
  arch /arm /kernel /stacktrace.c

It just removes the whitespace between directories and makes the
copied string as below:
  arch/arm/kernel/stacktrace.c

The output looks same in html format, but the copied directory path
can be pasted as it looks.

Reviewers: krememek, zaks.anna, sylvestre.ledru

Reviewed By: sylvestre.ledru

Subscribers: aemerson, cfe-commits

Differential Revision: http://reviews.llvm.org/D10354

llvm-svn: 239609

clang/tools/scan-build/scan-build

index d52d8f5..ac8e22e 100755 (executable)
@@ -766,7 +766,7 @@ ENDTEXT
           my $x = shift @fname;
           print OUT $x;
           if ($#fname >= 0) {
-            print OUT "<span class=\"W\"> </span>/";
+            print OUT "/";
           }
         }
       }