Skip to content

Commit 809f72f

Browse files
authored
Merge pull request #85394 from sepy97/register-module-dependency
Add new flag to enable dependency scanning without importing in the frontend
2 parents c3e07c6 + b23044c commit 809f72f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

include/swift/Option/Options.td

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2358,6 +2358,11 @@ def cache_replay_prefix_map: MultiArg<["-"], "cache-replay-prefix-map", 2>,
23582358
Flags<[FrontendOption, NoDriverOption, CacheInvariant]>,
23592359
HelpText<"Remap paths when replaying outputs from cache">, MetaVarName<"<prefix> <replacement>">;
23602360

2361+
def register_module_dependency : Separate<["-"], "register-module-dependency">,
2362+
Flags<[NewDriverOnlyOption]>,
2363+
HelpText<"Register module for dependency scan without importing in the frontend">;
2364+
2365+
23612366
// END ONLY SUPPORTED IN NEW DRIVER
23622367

23632368

0 commit comments

Comments
 (0)