Fix errors and warnings building swift/SILGen on Windows using MSVC

This commit is contained in:
Hugh Bellamy
2016-12-22 11:51:55 +00:00
parent 6805ecccae
commit 95af3aa7c8
9 changed files with 29 additions and 2 deletions

View File

@@ -57,6 +57,8 @@ bool ArgumentSource::requiresCalleeToEvaluate() {
case Kind::Expr:
return isa<TupleShuffleExpr>(asKnownExpr());
}
llvm_unreachable("Unhandled Kind in switch.");
}
RValue ArgumentSource::getAsRValue(SILGenFunction &gen, SGFContext C) && {