forked from OSchip/llvm-project
[llvm-ar] Added llvm_unreachable to quiet -Wreturn-type warnings.
llvm-svn: 185751
This commit is contained in:
parent
c13678a24f
commit
11dd1d04ca
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue