[llvm] r292708 - llvm-strings: remove default for -Wcovered-switch-default
Saleem Abdulrasool via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 20 18:52:30 PST 2017
Author: compnerd
Date: Fri Jan 20 20:52:29 2017
New Revision: 292708
URL: http://llvm.org/viewvc/llvm-project?rev=292708&view=rev
Log:
llvm-strings: remove default for -Wcovered-switch-default
Fix the -Werror build by removing the unnecessary default case in the
covered switch. NFC
Modified:
llvm/trunk/tools/llvm-strings/llvm-strings.cpp
Modified: llvm/trunk/tools/llvm-strings/llvm-strings.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-strings/llvm-strings.cpp?rev=292708&r1=292707&r2=292708&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-strings/llvm-strings.cpp (original)
+++ llvm/trunk/tools/llvm-strings/llvm-strings.cpp Fri Jan 20 20:52:29 2017
@@ -57,7 +57,6 @@ static void strings(raw_ostream &OS, Str
if (PrintFileName)
OS << FileName << ":";
switch (Radix) {
- default:
case none:
break;
case octal:
More information about the llvm-commits
mailing list