[llvm] r346514 - [llvm-cov] Remove "default:" label in the switch covering all enum values.
Max Moroz via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 9 08:44:37 PST 2018
Author: dor1s
Date: Fri Nov 9 08:44:36 2018
New Revision: 346514
URL: http://llvm.org/viewvc/llvm-project?rev=346514&view=rev
Log:
[llvm-cov] Remove "default:" label in the switch covering all enum values.
Summary:
Fixing the build breakage:
http://lab.llvm.org:8011/builders/lld-x86_64-darwin13/builds/27309
Reviewers: vsk, allevato, Dor1s
Reviewed By: Dor1s
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D54323
Modified:
llvm/trunk/tools/llvm-cov/CodeCoverage.cpp
Modified: llvm/trunk/tools/llvm-cov/CodeCoverage.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-cov/CodeCoverage.cpp?rev=346514&r1=346513&r2=346514&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-cov/CodeCoverage.cpp (original)
+++ llvm/trunk/tools/llvm-cov/CodeCoverage.cpp Fri Nov 9 08:44:36 2018
@@ -1039,8 +1039,6 @@ int CodeCoverageTool::doExport(int argc,
Exporter = llvm::make_unique<CoverageExporterLcov>(*Coverage.get(),
ViewOpts, outs());
break;
- default:
- llvm_unreachable("Unknown coverage output format!");
}
if (SourceFiles.empty())
More information about the llvm-commits
mailing list