Skip to content

Commit

Permalink
Revert "[CodeCompletion] Disable module system headers validation"
Browse files Browse the repository at this point in the history
This reverts commit ec70a40.
  • Loading branch information
rintaro committed Jan 30, 2020
1 parent e121cb0 commit cb20d0e
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions lib/IDE/CompletionInstance.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -362,11 +362,6 @@ bool swift::ide::CompletionInstance::performOperation(
// source text. That breaks an invariant of syntax tree building.
Invocation.getLangOptions().BuildSyntaxTree = false;

// This validation may call stat(2) many times. Disable it to prevent
// performance regression.
Invocation.getSearchPathOptions().DisableModulesValidateSystemDependencies =
true;

// Since caching uses the interface hash, and since per type fingerprints
// weaken that hash, disable them here:
Invocation.getLangOptions().EnableTypeFingerprints = false;
Expand Down

0 comments on commit cb20d0e

Please sign in to comment.