diff --git a/lib/Frontend/ModuleInterfaceLoader.cpp b/lib/Frontend/ModuleInterfaceLoader.cpp index a0168460a27e4..880f4a222faef 100644 --- a/lib/Frontend/ModuleInterfaceLoader.cpp +++ b/lib/Frontend/ModuleInterfaceLoader.cpp @@ -1782,8 +1782,6 @@ void InterfaceSubContextDelegateImpl::inheritOptionsForBuildingInterface( Feature::LayoutPrespecialization); } - genericSubInvocation.getClangImporterOptions().DirectClangCC1ModuleBuild = - clangImporterOpts.DirectClangCC1ModuleBuild; genericSubInvocation.getClangImporterOptions().ClangImporterDirectCC1Scan = clangImporterOpts.ClangImporterDirectCC1Scan;