mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Fix errors and warnings building swift/SIL on Windows using MSVC
This commit is contained in:
@@ -1045,6 +1045,8 @@ llvm::raw_ostream &swift::operator<<(llvm::raw_ostream &OS,
|
||||
case SILInstruction::MemoryBehavior::MayHaveSideEffects:
|
||||
return OS << "MayHaveSideEffects";
|
||||
}
|
||||
|
||||
llvm_unreachable("Unhandled MemoryBehavior in switch.");
|
||||
}
|
||||
|
||||
llvm::raw_ostream &swift::operator<<(llvm::raw_ostream &OS,
|
||||
@@ -1055,4 +1057,6 @@ llvm::raw_ostream &swift::operator<<(llvm::raw_ostream &OS,
|
||||
case SILInstruction::ReleasingBehavior::MayRelease:
|
||||
return OS << "MayRelease";
|
||||
}
|
||||
|
||||
llvm_unreachable("Unhandled ReleasingBehavior in switch.");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user