Skip to content

Commit 60bad0c

Browse files
authored
Merge pull request #69270 from tshortli/revert-lazy-typecheck-driver-option
Revert "Options: Make -experimental-lazy-typecheck a driver option."
2 parents 5a4a9a6 + dba0649 commit 60bad0c

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

include/swift/Option/FrontendOptions.td

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -444,6 +444,9 @@ def debug_forbid_typecheck_prefix : Separate<["-"], "debug-forbid-typecheck-pref
444444
HelpText<"Triggers llvm fatal_error if typechecker tries to typecheck a decl "
445445
"with the provided prefix name">;
446446

447+
def experimental_lazy_typecheck : Flag<["-"], "experimental-lazy-typecheck">,
448+
HelpText<"Type-check lazily as needed to produce requested outputs">;
449+
447450
def debug_emit_invalid_swiftinterface_syntax : Flag<["-"], "debug-emit-invalid-swiftinterface-syntax">,
448451
HelpText<"Write an invalid declaration into swiftinterface files">;
449452

include/swift/Option/Options.td

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1887,11 +1887,6 @@ def cache_replay_prefix_map: Separate<["-"], "cache-replay-prefix-map">,
18871887
Flags<[FrontendOption, NoDriverOption, CacheInvariant]>,
18881888
HelpText<"Remap paths when replaying outputs from cache">, MetaVarName<"<prefix=replacement>">;
18891889

1890-
def experimental_lazy_typecheck :
1891-
Flag<["-"], "experimental-lazy-typecheck">,
1892-
Flags<[FrontendOption, NewDriverOnlyOption, HelpHidden]>,
1893-
HelpText<"Type-check lazily as needed to produce requested outputs">;
1894-
18951890
// END ONLY SUPPORTED IN NEW DRIVER
18961891

18971892

0 commit comments

Comments
 (0)