Skip to content

Commit d6f88cd

Browse files
committed
Add new-driver-only '-explicit-dependency-graph-format=' option
1 parent aec29cc commit d6f88cd

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

include/swift/Option/Options.td

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1614,10 +1614,15 @@ def use_frontend_parseable_output:
16141614

16151615
def print_explicit_dependency_graph:
16161616
Flag<["-"], "print-explicit-dependency-graph">,
1617-
Flags<[HelpHidden, NewDriverOnlyOption]>,
1617+
Flags<[DoesNotAffectIncrementalBuild, HelpHidden, NewDriverOnlyOption]>,
16181618
HelpText<"Print the result of module dependency scanning after external "
16191619
"module resolution to output">;
16201620

1621+
def explicit_dependency_graph_format:
1622+
Joined<["-"], "explicit-dependency-graph-format=">,
1623+
Flags<[DoesNotAffectIncrementalBuild, HelpHidden, NewDriverOnlyOption]>,
1624+
HelpText<"Specify the explicit dependency graph output format to either 'json' or 'dot'">;
1625+
16211626
def print_preprocessed_explicit_dependency_graph:
16221627
Flag<["-"], "print-preprocessed-explicit-dependency-graph">,
16231628
Flags<[HelpHidden, NewDriverOnlyOption]>,

0 commit comments

Comments
 (0)