mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-15 15:48:38 +00:00
[llvm-ar] Added llvm_unreachable to quiet -Wreturn-type warnings.
llvm-svn: 185751
This commit is contained in:
parent
fe50d183e2
commit
762cf5cbf5
@ -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
Block a user