Skip to content

Commit b23044c

Browse files
Semen PyankovSam Pyankov
authored andcommitted
Add new flag to enable dependency scanning without importing in the frontend
1 parent f219e86 commit b23044c

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
@@ -2353,6 +2353,11 @@ def cache_replay_prefix_map: MultiArg<["-"], "cache-replay-prefix-map", 2>,
23532353
Flags<[FrontendOption, NoDriverOption, CacheInvariant]>,
23542354
HelpText<"Remap paths when replaying outputs from cache">, MetaVarName<"<prefix> <replacement>">;
23552355

2356+
def register_module_dependency : Separate<["-"], "register-module-dependency">,
2357+
Flags<[NewDriverOnlyOption]>,
2358+
HelpText<"Register module for dependency scan without importing in the frontend">;
2359+
2360+
23562361
// END ONLY SUPPORTED IN NEW DRIVER
23572362

23582363

0 commit comments

Comments
 (0)