Merge remote-tracking branch 'origin/master' into master-next

This commit is contained in:
swift-ci
2019-09-12 18:10:45 -07:00
13 changed files with 123 additions and 136 deletions

View File

@@ -1122,10 +1122,12 @@ static bool performCompile(CompilerInstance &Instance,
if (Action == FrontendOptions::ActionType::Typecheck) {
if (emitIndexData(Invocation, Instance))
return true;
if (emitAnyWholeModulePostTypeCheckSupplementaryOutputs(Instance,
Invocation,
moduleIsPublic)) {
return true;
if (opts.InputsAndOutputs.isWholeModule()) {
if (emitAnyWholeModulePostTypeCheckSupplementaryOutputs(Instance,
Invocation,
moduleIsPublic)) {
return true;
}
}
return false;
}