Skip to content

Commit d755676

Browse files
author
Semen Pyankov
committed
Add new flag to enable dependency scanning without importing in the frontend
1 parent f219e86 commit d755676

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

include/swift/Option/Options.td

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2353,6 +2353,10 @@ 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+
HelpText<"Register module for dependency scan without importing in the frontend">;
2358+
2359+
23562360
// END ONLY SUPPORTED IN NEW DRIVER
23572361

23582362

0 commit comments

Comments
 (0)