mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Merge pull request #79713 from xymus/index-while-building-allow-errors
Index: Accept more deserialization inconsistencies during index-while-building
This commit is contained in:
@@ -135,7 +135,8 @@ ModuleFile::ModuleFile(std::shared_ptr<const ModuleFileSharedCore> core)
|
||||
}
|
||||
|
||||
bool ModuleFile::allowCompilerErrors() const {
|
||||
return getContext().LangOpts.AllowModuleWithCompilerErrors;
|
||||
return getContext().LangOpts.AllowModuleWithCompilerErrors ||
|
||||
getContext().ForceAllowModuleWithCompilerErrors;
|
||||
}
|
||||
|
||||
Status
|
||||
|
||||
Reference in New Issue
Block a user