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(
19531953 genericSubInvocation.getFrontendOptions ()
19541954 .DependencyScanningSubInvocation = true ;
19551955 } 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 ) {
19591963 // If the compiler has been asked to be strict with ensuring downstream
19601964 // dependencies get the parent invocation's context, inherit the extra Clang
19611965 // arguments also. Inherit any clang-specific state of the compilation
You can’t perform that action at this time.
0 commit comments