Skip to content

Commit b55a304

Browse files
authored
Merge pull request #69259 from tshortli/lazy-typecheck-driver-option
2 parents e9b01a3 + c683703 commit b55a304

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

include/swift/Option/FrontendOptions.td

-3
Original file line numberDiff line numberDiff line change
@@ -444,9 +444,6 @@ 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-
450447
def debug_emit_invalid_swiftinterface_syntax : Flag<["-"], "debug-emit-invalid-swiftinterface-syntax">,
451448
HelpText<"Write an invalid declaration into swiftinterface files">;
452449

include/swift/Option/Options.td

+5
Original file line numberDiff line numberDiff line change
@@ -1887,6 +1887,11 @@ 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+
18901895
// END ONLY SUPPORTED IN NEW DRIVER
18911896

18921897

0 commit comments

Comments
 (0)