mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Revert "[SourceKit] Disable module system headers validation"
This reverts commit 951b85359a.
This commit is contained in:
@@ -539,11 +539,6 @@ bool SwiftASTManager::initCompilerInvocation(
|
||||
// We don't care about LLVMArgs
|
||||
FrontendOpts.LLVMArgs.clear();
|
||||
|
||||
// This validation may call stat(2) many times. Disable it to prevent
|
||||
// performance issues.
|
||||
Invocation.getSearchPathOptions().DisableModulesValidateSystemDependencies =
|
||||
true;
|
||||
|
||||
// SwiftSourceInfo files provide source location information for decls coming
|
||||
// from loaded modules. For most IDE use cases it either has an undesirable
|
||||
// impact on performance with no benefit (code completion), results in stale
|
||||
|
||||
Reference in New Issue
Block a user