mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[Dependency Scanning] Keep track of each imported module's access control
Adds an access control field for each imported module identified. When multiple imports of the same module are found, this keeps track of the most "open" access specifier.
This commit is contained in:
@@ -170,8 +170,7 @@ protected:
|
||||
bool isTestableImport, bool isCandidateForTextualModule);
|
||||
|
||||
struct BinaryModuleImports {
|
||||
llvm::StringSet<> moduleImports;
|
||||
llvm::StringSet<> exportedModules;
|
||||
std::vector<ScannerImportStatementInfo> moduleImports;
|
||||
std::string headerImport;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user