[LLVM-COV]Replace tabs to the space indentations in the HTML coverage report.
authorYing Yi <maggieyi666@gmail.com>
Thu, 4 Aug 2016 10:39:43 +0000 (10:39 +0000)
committerYing Yi <maggieyi666@gmail.com>
Thu, 4 Aug 2016 10:39:43 +0000 (10:39 +0000)
commit0ef31b7960cad696f9d93fa50df3e2d2bee15413
tree6542beae75a8741486be484315178e907d088aa9
parent3d88f0c3fb090aa2c72fbbf9f8ecea526911bdda
[LLVM-COV]Replace tabs to the space indentations in the HTML coverage report.

When using orbis-llvm-cov.exe to generate the HTML report, the HTML report
can look quite different to the source file if it includes tabs.The default
tab size is 2 spaces instead of 8 spaces. A command line switch is
be added to set the tab size.

Differential Revision: https://reviews.llvm.org/D23087

llvm-svn: 277715
llvm/test/tools/llvm-cov/Inputs/showTabsHTML.covmapping [new file with mode: 0644]
llvm/test/tools/llvm-cov/Inputs/showTabsHTML.proftext [new file with mode: 0644]
llvm/test/tools/llvm-cov/showTabsHTML.cpp [new file with mode: 0644]
llvm/tools/llvm-cov/CodeCoverage.cpp
llvm/tools/llvm-cov/CoverageViewOptions.h
llvm/tools/llvm-cov/SourceCoverageViewHTML.cpp