Merge pull request #65058 from cachemeifyoucan/eng/PR-swift-cas-fs

[CAS] Integrate CAS into swift compiler
This commit is contained in:
Steven Wu
2023-04-19 09:11:30 -07:00
committed by GitHub
12 changed files with 157 additions and 3 deletions

View File

@@ -1465,6 +1465,11 @@ static bool ParseClangImporterArgs(ClangImporterOptions &Opts,
Opts.DisableSourceImport |=
Args.hasArg(OPT_disable_clangimporter_source_import);
// Forward the FrontendOptions to clang importer option so it can be
// accessed when creating clang module compilation invocation.
if (FrontendOpts.EnableCAS)
Opts.CASPath = FrontendOpts.CASPath;
return false;
}