mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Fix warnings building swift/Frontend on Windows using MSVC
This commit is contained in:
@@ -76,6 +76,8 @@ SourceFileKind CompilerInvocation::getSourceFileKind() const {
|
||||
case InputFileKind::IFK_LLVM_IR:
|
||||
llvm_unreachable("Trying to convert from unsupported InputFileKind");
|
||||
}
|
||||
|
||||
llvm_unreachable("Unhandled InputFileKind in switch.");
|
||||
}
|
||||
|
||||
// This is a separate function so that it shows up in stack traces.
|
||||
|
||||
Reference in New Issue
Block a user