summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-cov/CoverageViewOptions.h
diff options
context:
space:
mode:
authorYing Yi <maggieyi666@gmail.com>2016-08-04 10:39:43 +0000
committerYing Yi <maggieyi666@gmail.com>2016-08-04 10:39:43 +0000
commit0ef31b7960cad696f9d93fa50df3e2d2bee15413 (patch)
tree6542beae75a8741486be484315178e907d088aa9 /llvm/tools/llvm-cov/CoverageViewOptions.h
parent3d88f0c3fb090aa2c72fbbf9f8ecea526911bdda (diff)
downloadbcm5719-llvm-0ef31b7960cad696f9d93fa50df3e2d2bee15413.tar.gz
bcm5719-llvm-0ef31b7960cad696f9d93fa50df3e2d2bee15413.zip
[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
Diffstat (limited to 'llvm/tools/llvm-cov/CoverageViewOptions.h')
-rw-r--r--llvm/tools/llvm-cov/CoverageViewOptions.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/tools/llvm-cov/CoverageViewOptions.h b/llvm/tools/llvm-cov/CoverageViewOptions.h
index 350c264a287..45f2d813987 100644
--- a/llvm/tools/llvm-cov/CoverageViewOptions.h
+++ b/llvm/tools/llvm-cov/CoverageViewOptions.h
@@ -34,6 +34,7 @@ struct CoverageViewOptions {
OutputFormat Format;
std::string ShowOutputDirectory;
std::vector<std::string> DemanglerOpts;
+ uint32_t TabSize;
/// \brief Change the output's stream color if the colors are enabled.
ColoredRawOstream colored_ostream(raw_ostream &OS,
OpenPOWER on IntegriCloud