Explanation: Updates swift package dump-symbol-graph to pass the correct set of include and cxx interoperability mode flags. This fixes a bug where were are unable to extract the symbol graph from swiftmodules with transitive cxx modules because we parsed cxx headers as c headers.
With these changes swift-mmio is able to generate symbol graphs and documentation using the swift package dump-symbol-graph and swift package generate-documentation commands.
Scope: Documentation generation
Issue:
Original PR: #7610, #7621
Risk: Low
Testing: CI & at desk usage directly and via SwiftPM
Explanation: Updates
swift package dump-symbol-graph
to pass the correct set of include and cxx interoperability mode flags. This fixes a bug where were are unable to extract the symbol graph from swiftmodules with transitive cxx modules because we parsed cxx headers as c headers.With these changes
swift-mmio
is able to generate symbol graphs and documentation using theswift package dump-symbol-graph
andswift package generate-documentation
commands.Scope: Documentation generation
Issue:
Original PR: #7610, #7621
Risk: Low
Testing: CI & at desk usage directly and via SwiftPM
Reviewer: @xedin