Fix warnings building swift/Frontend on Windows using MSVC

This commit is contained in:
Hugh Bellamy
2016-11-17 17:50:41 +00:00
parent 8be4df4bae
commit 4779659f39
3 changed files with 6 additions and 0 deletions

View File

@@ -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.