mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Add -swift-module-file frontend flag for explicit Swift module dependencies
This commit is contained in:
@@ -129,7 +129,7 @@ class SearchPathOptions;
|
||||
class CompilerInvocation;
|
||||
|
||||
/// A ModuleLoader that loads explicitly built Swift modules specified via
|
||||
/// -swift-module-file
|
||||
/// -swift-module-file or modules found in
|
||||
class ExplicitSwiftModuleLoader: public SerializedModuleLoaderBase {
|
||||
explicit ExplicitSwiftModuleLoader(ASTContext &ctx, DependencyTracker *tracker,
|
||||
ModuleLoadingMode loadMode,
|
||||
@@ -164,6 +164,7 @@ public:
|
||||
create(ASTContext &ctx,
|
||||
DependencyTracker *tracker, ModuleLoadingMode loadMode,
|
||||
StringRef ExplicitSwiftModuleMap,
|
||||
const std::vector<std::pair<std::string, std::string>> &ExplicitSwiftModuleInputs,
|
||||
bool IgnoreSwiftSourceInfoFile);
|
||||
|
||||
/// Append visible module names to \p names. Note that names are possibly
|
||||
|
||||
Reference in New Issue
Block a user