mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Merge pull request #65058 from cachemeifyoucan/eng/PR-swift-cas-fs
[CAS] Integrate CAS into swift compiler
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user