mirror of
https://github.com/intel/llvm.git
synced 2026-01-26 12:26:52 +08:00
Fixed "not all control paths return a value" warning. NFC.
llvm-svn: 263040
This commit is contained in:
@@ -426,6 +426,7 @@ static uint8_t getGvVisibility(const GlobalValue *GV) {
|
||||
case GlobalValue::ProtectedVisibility:
|
||||
return STV_PROTECTED;
|
||||
}
|
||||
llvm_unreachable("Unknown visibility");
|
||||
}
|
||||
|
||||
void BitcodeFile::parse(DenseSet<StringRef> &ComdatGroups) {
|
||||
|
||||
Reference in New Issue
Block a user