[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 fe50d183e2
commit 762cf5cbf5

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