mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[Dependency Scanning] Keep track of whether a given Swift 'import' statement is '@_exported'
This commit is contained in:
@@ -171,6 +171,7 @@ protected:
|
||||
|
||||
struct BinaryModuleImports {
|
||||
llvm::StringSet<> moduleImports;
|
||||
llvm::StringSet<> exportedModules;
|
||||
std::string headerImport;
|
||||
};
|
||||
|
||||
@@ -185,7 +186,7 @@ protected:
|
||||
|
||||
/// If the module has a package name matching the one
|
||||
/// specified, return a set of package-only imports for this module.
|
||||
static llvm::ErrorOr<llvm::StringSet<>>
|
||||
static llvm::ErrorOr<std::vector<ScannerImportStatementInfo>>
|
||||
getMatchingPackageOnlyImportsOfModule(Twine modulePath,
|
||||
bool isFramework,
|
||||
bool isRequiredOSSAModules,
|
||||
|
||||
Reference in New Issue
Block a user