summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Object/ArchiveWriter.cpp
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2017-02-22 01:01:45 +0000
committerRui Ueyama <ruiu@google.com>2017-02-22 01:01:45 +0000
commite67e162654f3d94f30a632a93ab6f3431498b8a0 (patch)
treed1a5194d1ea7356a30889e9decb1ae1b658dfe5d /llvm/lib/Object/ArchiveWriter.cpp
parent99861f473015a398cc5d745c7fe45de78248b8f8 (diff)
downloadbcm5719-llvm-e67e162654f3d94f30a632a93ab6f3431498b8a0.tar.gz
bcm5719-llvm-e67e162654f3d94f30a632a93ab6f3431498b8a0.zip
Fix -Wcovered-switch-default.
llvm-svn: 295799
Diffstat (limited to 'llvm/lib/Object/ArchiveWriter.cpp')
-rw-r--r--llvm/lib/Object/ArchiveWriter.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/llvm/lib/Object/ArchiveWriter.cpp b/llvm/lib/Object/ArchiveWriter.cpp
index e5d6267908d..11cd72fa69d 100644
--- a/llvm/lib/Object/ArchiveWriter.cpp
+++ b/llvm/lib/Object/ArchiveWriter.cpp
@@ -129,9 +129,7 @@ static bool isBSDLike(object::Archive::Kind Kind) {
case object::Archive::K_BSD:
case object::Archive::K_DARWIN:
return true;
- case object::Archive::K_MIPS64:
- case object::Archive::K_DARWIN64:
- case object::Archive::K_COFF:
+ default:
llvm_unreachable("not supported for writting");
}
}
OpenPOWER on IntegriCloud