diff options
author | Vedant Kumar <vsk@apple.com> | 2016-06-28 16:12:15 +0000 |
---|---|---|
committer | Vedant Kumar <vsk@apple.com> | 2016-06-28 16:12:15 +0000 |
commit | ebe840163878d5d5cc74645cc06e46e1f31b5b3c (patch) | |
tree | 601bf94a298fa8ff74996b72bbf16c9dc5551a50 /llvm/tools/llvm-cov/CodeCoverage.cpp | |
parent | de717e655bc94be2d0e7dee0fed0e9d17a066ee5 (diff) | |
download | bcm5719-llvm-ebe840163878d5d5cc74645cc06e46e1f31b5b3c.tar.gz bcm5719-llvm-ebe840163878d5d5cc74645cc06e46e1f31b5b3c.zip |
[llvm-cov] Rename ShowFormat to Format (NFC)
This makes it a bit more generic, in case we want to emit summary
reports in different formats in the future.
llvm-svn: 274026
Diffstat (limited to 'llvm/tools/llvm-cov/CodeCoverage.cpp')
-rw-r--r-- | llvm/tools/llvm-cov/CodeCoverage.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/tools/llvm-cov/CodeCoverage.cpp b/llvm/tools/llvm-cov/CodeCoverage.cpp index 94b7c84b550..84318e3cd37 100644 --- a/llvm/tools/llvm-cov/CodeCoverage.cpp +++ b/llvm/tools/llvm-cov/CodeCoverage.cpp @@ -399,7 +399,7 @@ int CodeCoverageTool::show(int argc, const char **argv, cl::desc("Show function instantiations"), cl::cat(ViewCategory)); - cl::opt<CoverageViewOptions::OutputFormat> ShowFormat( + cl::opt<CoverageViewOptions::OutputFormat> Format( "format", cl::desc("Output format for line-based coverage reports"), cl::values(clEnumValN(CoverageViewOptions::OutputFormat::Text, "text", "Text output"), @@ -423,7 +423,7 @@ int CodeCoverageTool::show(int argc, const char **argv, ViewOpts.ShowLineStatsOrRegionMarkers = ShowBestLineRegionsCounts; ViewOpts.ShowExpandedRegions = ShowExpansions; ViewOpts.ShowFunctionInstantiations = ShowInstantiations; - ViewOpts.ShowFormat = ShowFormat; + ViewOpts.Format = Format; ViewOpts.ShowOutputDirectory = ShowOutputDirectory; if (ViewOpts.ShowOutputDirectory != "") { |