Skip to content

Commit cb20d0e

Browse files
committed
Revert "[CodeCompletion] Disable module system headers validation"
This reverts commit ec70a40.
1 parent e121cb0 commit cb20d0e

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

lib/IDE/CompletionInstance.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -362,11 +362,6 @@ bool swift::ide::CompletionInstance::performOperation(
362362
// source text. That breaks an invariant of syntax tree building.
363363
Invocation.getLangOptions().BuildSyntaxTree = false;
364364

365-
// This validation may call stat(2) many times. Disable it to prevent
366-
// performance regression.
367-
Invocation.getSearchPathOptions().DisableModulesValidateSystemDependencies =
368-
true;
369-
370365
// Since caching uses the interface hash, and since per type fingerprints
371366
// weaken that hash, disable them here:
372367
Invocation.getLangOptions().EnableTypeFingerprints = false;

0 commit comments

Comments
 (0)