Fix -Wcovered-switch-default.

llvm-svn: 295799
This commit is contained in:
Rui Ueyama 2017-02-22 01:01:45 +00:00
parent 99861f4730
commit e67e162654
1 changed files with 1 additions and 3 deletions

View File

@ -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");
}
}