summaryrefslogtreecommitdiffstats
path: root/llvm/lib/DebugInfo
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2017-02-28 18:35:40 +0000
committerZachary Turner <zturner@google.com>2017-02-28 18:35:40 +0000
commit52c0077df07ca8880f607c6bee8bb0ab6027f1e5 (patch)
tree92af3ff55367167bcf6ff7af87166643beb82892 /llvm/lib/DebugInfo
parent262ad16a3a63ceffcf7cca139ef0ceb1b57e3e88 (diff)
downloadbcm5719-llvm-52c0077df07ca8880f607c6bee8bb0ab6027f1e5.tar.gz
bcm5719-llvm-52c0077df07ca8880f607c6bee8bb0ab6027f1e5.zip
Fix -Wcovered-switch-default warning.
llvm-svn: 296501
Diffstat (limited to 'llvm/lib/DebugInfo')
-rw-r--r--llvm/lib/DebugInfo/MSF/BinaryStreamError.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/DebugInfo/MSF/BinaryStreamError.cpp b/llvm/lib/DebugInfo/MSF/BinaryStreamError.cpp
index 2f299dc5b5e..097a59e768b 100644
--- a/llvm/lib/DebugInfo/MSF/BinaryStreamError.cpp
+++ b/llvm/lib/DebugInfo/MSF/BinaryStreamError.cpp
@@ -39,8 +39,6 @@ BinaryStreamError::BinaryStreamError(stream_error_code C, StringRef Context)
case stream_error_code::filesystem_error:
ErrMsg += "An I/O error occurred on the file system.";
break;
- default:
- llvm_unreachable("Unreachable!");
}
if (!Context.empty()) {
OpenPOWER on IntegriCloud