mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-03-05 10:57:32 +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…
x
Reference in New Issue
Block a user