Skip to content

Commit bb8ddbc

Browse files
authored
Merge pull request #61056 from artemcm/InterModuleFormatPrintOption
Add new-driver-only '-explicit-dependency-graph-format=' option
2 parents 85b02d6 + d6f88cd commit bb8ddbc

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)