[lld] r194624 - Remove default label from fully covered switch.
Rui Ueyama
ruiu at google.com
Wed Nov 13 15:33:49 PST 2013
Author: ruiu
Date: Wed Nov 13 17:33:49 2013
New Revision: 194624
URL: http://llvm.org/viewvc/llvm-project?rev=194624&view=rev
Log:
Remove default label from fully covered switch.
Modified:
lld/trunk/lib/Core/SymbolTable.cpp
Modified: lld/trunk/lib/Core/SymbolTable.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/Core/SymbolTable.cpp?rev=194624&r1=194623&r2=194624&view=diff
==============================================================================
--- lld/trunk/lib/Core/SymbolTable.cpp (original)
+++ lld/trunk/lib/Core/SymbolTable.cpp Wed Nov 13 17:33:49 2013
@@ -234,9 +234,6 @@ void SymbolTable::addByName(const Atom &
break;
case NCR_Error:
llvm::errs() << "SymbolTable: error while merging " << name << "\n";
- // FALLTHRU
- default:
- llvm::report_fatal_error("SymbolTable::addByName(): unhandled switch clause");
}
if (useNew) {
More information about the llvm-commits
mailing list