Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions include/swift/Option/Options.td
Original file line number Diff line number Diff line change
Expand Up @@ -2353,6 +2353,11 @@ def cache_replay_prefix_map: MultiArg<["-"], "cache-replay-prefix-map", 2>,
Flags<[FrontendOption, NoDriverOption, CacheInvariant]>,
HelpText<"Remap paths when replaying outputs from cache">, MetaVarName<"<prefix> <replacement>">;

def register_module_dependency : Separate<["-"], "register-module-dependency">,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you add Flags<[NewDriverOnlyOption]>, to this new flag?

Flags<[NewDriverOnlyOption]>,
HelpText<"Register module for dependency scan without importing in the frontend">;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please also add NewDriverOnlyOption flag.



// END ONLY SUPPORTED IN NEW DRIVER


Expand Down