mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Merge pull request #71624 from artemcm/DepScanCxxInteropImportNo
[Dependency Scanning] Interface-scanning sub-invocations should not attempt to import `CxxShims`
This commit is contained in:
@@ -1808,6 +1808,8 @@ InterfaceSubContextDelegateImpl::InterfaceSubContextDelegateImpl(
|
||||
// in the Swift compile commands, when different.
|
||||
inheritedParentContextClangArgs =
|
||||
clangImporterOpts.getReducedExtraArgsForSwiftModuleDependency();
|
||||
genericSubInvocation.getFrontendOptions()
|
||||
.DependencyScanningSubInvocation = true;
|
||||
} else if (LoaderOpts.strictImplicitModuleContext) {
|
||||
// If the compiler has been asked to be strict with ensuring downstream
|
||||
// dependencies get the parent invocation's context, inherit the extra Clang
|
||||
|
||||
Reference in New Issue
Block a user