mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Merge pull request #72668 from artemcm/DepScanBinaryModuleHeaderDepModuleDeps
[Explicit Module Builds] Only specify '-fmodule-map-file' for bridging header Clang module dependencies
This commit is contained in:
@@ -1982,7 +1982,7 @@ static bool ParseSearchPathArgs(SearchPathOptions &Opts,
|
||||
Args.hasArg(OPT_disable_modules_validate_system_headers);
|
||||
|
||||
if (const Arg *A = Args.getLastArg(OPT_explicit_swift_module_map))
|
||||
Opts.ExplicitSwiftModuleMap = A->getValue();
|
||||
Opts.ExplicitSwiftModuleMapPath = A->getValue();
|
||||
for (auto A : Args.getAllArgValues(options::OPT_swift_module_file)) {
|
||||
if (validateSwiftModuleFileArgumentAndAdd(A, Diags,
|
||||
Opts.ExplicitSwiftModuleInputs))
|
||||
|
||||
Reference in New Issue
Block a user