@@ -596,12 +596,12 @@ class ModuleInterfaceLoader : public SerializedModuleLoaderBase {
596596 static bool buildSwiftModuleFromSwiftInterface (
597597 SourceManager &SourceMgr, DiagnosticEngine &Diags,
598598 const SearchPathOptions &SearchPathOpts, const LangOptions &LangOpts,
599- const ClangImporterOptions &ClangOpts, StringRef CacheDir ,
600- StringRef PrebuiltCacheDir , StringRef BackupInterfaceDir ,
601- StringRef ModuleName, StringRef InPath,
599+ const ClangImporterOptions &ClangOpts, const CASOptions &CASOpts ,
600+ StringRef CacheDir , StringRef PrebuiltCacheDir ,
601+ StringRef BackupInterfaceDir, StringRef ModuleName, StringRef InPath,
602602 StringRef OutPath, StringRef ABIOutputPath,
603- bool SerializeDependencyHashes,
604- bool TrackSystemDependencies, ModuleInterfaceLoaderOptions Opts,
603+ bool SerializeDependencyHashes, bool TrackSystemDependencies,
604+ ModuleInterfaceLoaderOptions Opts,
605605 RequireOSSAModules_t RequireOSSAModules,
606606 RequireNoncopyableGenerics_t RequireNCGenerics,
607607 bool silenceInterfaceDiagnostics);
@@ -657,6 +657,7 @@ struct InterfaceSubContextDelegateImpl: InterfaceSubContextDelegate {
657657 inheritOptionsForBuildingInterface (const SearchPathOptions &SearchPathOpts,
658658 const LangOptions &LangOpts,
659659 const ClangImporterOptions &clangImporterOpts,
660+ const CASOptions &casOpts,
660661 bool suppressRemarks,
661662 RequireOSSAModules_t requireOSSAModules,
662663 RequireNoncopyableGenerics_t requireNCGenerics);
@@ -668,12 +669,11 @@ struct InterfaceSubContextDelegateImpl: InterfaceSubContextDelegate {
668669 InterfaceSubContextDelegateImpl (
669670 SourceManager &SM, DiagnosticEngine *Diags,
670671 const SearchPathOptions &searchPathOpts, const LangOptions &langOpts,
671- const ClangImporterOptions &clangImporterOpts,
672+ const ClangImporterOptions &clangImporterOpts, const CASOptions &casOpts,
672673 ModuleInterfaceLoaderOptions LoaderOpts, bool buildModuleCacheDirIfAbsent,
673674 StringRef moduleCachePath, StringRef prebuiltCachePath,
674- StringRef backupModuleInterfaceDir,
675- bool serializeDependencyHashes, bool trackSystemDependencies,
676- RequireOSSAModules_t requireOSSAModules,
675+ StringRef backupModuleInterfaceDir, bool serializeDependencyHashes,
676+ bool trackSystemDependencies, RequireOSSAModules_t requireOSSAModules,
677677 RequireNoncopyableGenerics_t requireNCGenerics);
678678
679679 template <typename ...ArgTypes>
0 commit comments