mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[Dependency Scanning] Add serialization of optional imports to the JSON output
And to the corresponding graph data structure the output gets generated from
This commit is contained in:
@@ -65,6 +65,9 @@ struct swiftscan_dependency_info_s {
|
||||
/// The list of source import infos.
|
||||
swiftscan_import_info_set_t *imports;
|
||||
|
||||
/// The list of source optional import infos.
|
||||
swiftscan_import_info_set_t *optional_imports;
|
||||
|
||||
/// Specific details of a particular kind of module.
|
||||
swiftscan_module_details_t details;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user