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

This commit is contained in:
swift-ci
2019-02-05 07:09:20 -08:00
6 changed files with 27 additions and 42 deletions

View File

@@ -803,11 +803,6 @@ void CompilerInstance::parseAndCheckTypesUpTo(
options.SwitchCheckingInvocationThreshold);
});
// Even if there were no source files, we should still record known
// protocols.
if (auto *stdlib = Context->getStdlibModule())
Context->recordKnownProtocols(stdlib);
if (Invocation.isCodeCompletion()) {
performDelayedParsing(MainModule, PersistentState,
Invocation.getCodeCompletionFactory());