Skip to content

Commit 062f953

Browse files
committed
Revert "[CodeCompletion] Disable module system headers validation"
This reverts commit 9ff8bb9.
1 parent 6a7030b commit 062f953

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
@@ -328,11 +328,6 @@ bool swift::ide::CompletionInstance::performOperation(
328328
// source text. That breaks an invariant of syntax tree building.
329329
Invocation.getLangOptions().BuildSyntaxTree = false;
330330

331-
// This validation may call stat(2) many times. Disable it to prevent
332-
// performance regression.
333-
Invocation.getSearchPathOptions().DisableModulesValidateSystemDependencies =
334-
true;
335-
336331
// FIXME: ASTScopeLookup doesn't support code completion yet.
337332
Invocation.disableASTScopeLookup();
338333

0 commit comments

Comments
 (0)