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

This commit is contained in:
swift-ci
2018-06-19 10:30:19 -07:00
3 changed files with 15 additions and 0 deletions

View File

@@ -1868,6 +1868,8 @@ ModuleFile::loadNamedMembers(const IterableDeclContext *IDC, DeclBaseName N,
} else {
if (!getContext().LangOpts.EnableDeserializationRecovery)
fatal(mem.takeError());
llvm::consumeError(mem.takeError());
// Treat this as a cache-miss to the caller and let them attempt
// to refill through the normal loadAllMembers() path.
return None;