[PATCH] D54323: [llvm-cov] Remove "default:" label in the switch covering all enum values.

Max Moroz via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 9 08:47:09 PST 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL346514: [llvm-cov] Remove "default:" label in the switch covering all enum values. (authored by Dor1s, committed by ).

Repository:
  rL LLVM

https://reviews.llvm.org/D54323

Files:
  llvm/trunk/tools/llvm-cov/CodeCoverage.cpp


Index: llvm/trunk/tools/llvm-cov/CodeCoverage.cpp
===================================================================
--- llvm/trunk/tools/llvm-cov/CodeCoverage.cpp
+++ llvm/trunk/tools/llvm-cov/CodeCoverage.cpp
@@ -1039,8 +1039,6 @@
     Exporter = llvm::make_unique<CoverageExporterLcov>(*Coverage.get(),
                                                        ViewOpts, outs());
     break;
-  default:
-    llvm_unreachable("Unknown coverage output format!");
   }
 
   if (SourceFiles.empty())


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D54323.173355.patch
Type: text/x-patch
Size: 499 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181109/cc29b144/attachment.bin>


More information about the llvm-commits mailing list