]> granicus.if.org Git - clang/commitdiff
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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@239609 91177308-0d34-0410-b5e6-96231b3b80d8

tools/scan-build/scan-build

index d52d8f5f655c26a34715508ebb9a166a86de9e29..ac8e22e8cc72c7672ed01d8cefbff6203572d6d1 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 "/";
           }
         }
       }