Skip to content

Options: Make -experimental-lazy-typecheck a driver option #69259

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions include/swift/Option/FrontendOptions.td
Original file line number Diff line number Diff line change
Expand Up @@ -444,9 +444,6 @@ def debug_forbid_typecheck_prefix : Separate<["-"], "debug-forbid-typecheck-pref
HelpText<"Triggers llvm fatal_error if typechecker tries to typecheck a decl "
"with the provided prefix name">;

def experimental_lazy_typecheck : Flag<["-"], "experimental-lazy-typecheck">,
HelpText<"Type-check lazily as needed to produce requested outputs">;

def debug_emit_invalid_swiftinterface_syntax : Flag<["-"], "debug-emit-invalid-swiftinterface-syntax">,
HelpText<"Write an invalid declaration into swiftinterface files">;

Expand Down
5 changes: 5 additions & 0 deletions include/swift/Option/Options.td
Original file line number Diff line number Diff line change
Expand Up @@ -1887,6 +1887,11 @@ def cache_replay_prefix_map: Separate<["-"], "cache-replay-prefix-map">,
Flags<[FrontendOption, NoDriverOption, CacheInvariant]>,
HelpText<"Remap paths when replaying outputs from cache">, MetaVarName<"<prefix=replacement>">;

def experimental_lazy_typecheck :
Flag<["-"], "experimental-lazy-typecheck">,
Flags<[FrontendOption, NewDriverOnlyOption, HelpHidden]>,
HelpText<"Type-check lazily as needed to produce requested outputs">;

// END ONLY SUPPORTED IN NEW DRIVER


Expand Down