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

llvm-svn: 185751
This commit is contained in:
Michael Gottesman 2013-07-06 02:39:51 +00:00
parent c13678a24f
commit 11dd1d04ca
1 changed files with 2 additions and 0 deletions

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