File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -1953,9 +1953,13 @@ InterfaceSubContextDelegateImpl::InterfaceSubContextDelegateImpl(
1953
1953
genericSubInvocation.getFrontendOptions ()
1954
1954
.DependencyScanningSubInvocation = true ;
1955
1955
} else if (LoaderOpts.strictImplicitModuleContext ||
1956
- // Explicit module Interface verification jobs still spawn a sub-instance
1957
- // and we must ensure this sub-instance gets all of the Xcc flags.
1958
- LoaderOpts.disableImplicitSwiftModule ) {
1956
+ // Explicit module Interface verification jobs still spawn a
1957
+ // sub-instance and we must ensure this sub-instance gets all of
1958
+ // the Xcc flags.
1959
+ LoaderOpts.disableImplicitSwiftModule ||
1960
+ // If using direct cc1 argument mode for lldb or typecheck
1961
+ // interface, inherit all clang arguments.
1962
+ clangImporterOpts.DirectClangCC1ModuleBuild ) {
1959
1963
// If the compiler has been asked to be strict with ensuring downstream
1960
1964
// dependencies get the parent invocation's context, inherit the extra Clang
1961
1965
// arguments also. Inherit any clang-specific state of the compilation
You can’t perform that action at this time.
0 commit comments