[llvm-ar] Added llvm_unreachable to quiet -Wreturn-type warnings.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185751 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Michael Gottesman 2013-07-06 02:39:51 +00:00
parent 429aead069
commit 2be430d251

View File

@ -655,6 +655,8 @@ bool shouldCreateArchive(ArchiveOperation Op) {
case ReplaceOrInsert:
return true;
}
llvm_unreachable("Missing entry in covered switch.");
}
// main - main program for llvm-ar .. see comments in the code