mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
IFSStub.cpp - consistently use default case to silence 'not all control paths return' MSVC warnings. NFCI.
This commit is contained in:
parent
ddd62877c6
commit
33f952ff1c
@ -64,8 +64,8 @@ uint8_t ifs::convertIFSBitWidthToELF(IFSBitWidthType BitWidth) {
|
|||||||
return ELF::ELFCLASS32;
|
return ELF::ELFCLASS32;
|
||||||
case IFSBitWidthType::IFS64:
|
case IFSBitWidthType::IFS64:
|
||||||
return ELF::ELFCLASS64;
|
return ELF::ELFCLASS64;
|
||||||
case IFSBitWidthType::Unknown:
|
default:
|
||||||
llvm_unreachable("unkown bitwidth");
|
llvm_unreachable("unknown bitwidth");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -75,7 +75,7 @@ uint8_t ifs::convertIFSEndiannessToELF(IFSEndiannessType Endianness) {
|
|||||||
return ELF::ELFDATA2LSB;
|
return ELF::ELFDATA2LSB;
|
||||||
case IFSEndiannessType::Big:
|
case IFSEndiannessType::Big:
|
||||||
return ELF::ELFDATA2MSB;
|
return ELF::ELFDATA2MSB;
|
||||||
case IFSEndiannessType::Unknown:
|
default:
|
||||||
llvm_unreachable("unknown endianness");
|
llvm_unreachable("unknown endianness");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user