mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-23 02:29:18 +00:00
[llvm-ar] Added llvm_unreachable to quiet -Wreturn-type warnings.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185751 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
429aead069
commit
2be430d251
@ -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