Fix MSVC 'not all control paths return a value' warning

llvm-svn: 320297
This commit is contained in:
Simon Pilgrim 2017-12-10 11:05:14 +00:00
parent 1a030016a6
commit d038b475ac
1 changed files with 1 additions and 0 deletions

View File

@ -1230,6 +1230,7 @@ struct DarwinPlatform {
case DeploymentTargetEnv:
return (llvm::Twine(EnvVarName) + "=" + OSVersion).str();
}
llvm_unreachable("Unsupported Darwin Source Kind");
}
static DarwinPlatform createOSVersionArg(DarwinPlatformKind Platform,