[Dependency Scanning] Make the prescan dependency scan result (import set) an opaque structure

This commit is contained in:
Artem Chikin
2020-12-07 11:55:36 -08:00
parent c6705ad090
commit cff741b60f
7 changed files with 53 additions and 22 deletions

View File

@@ -47,7 +47,7 @@ DependencyScanningTool::getDependencies(
return Dependencies;
}
llvm::ErrorOr<swiftscan_prescan_result_t *>
llvm::ErrorOr<swiftscan_prescan_result_t>
DependencyScanningTool::getImports(ArrayRef<const char *> Command) {
// The primary instance used to scan the query Swift source-code
auto InstanceOrErr = initCompilerInstanceForScan(Command);