Merge remote-tracking branch 'origin/main' into rebranch

This commit is contained in:
swift-ci
2024-07-31 09:16:05 -07:00
9 changed files with 28 additions and 23 deletions

View File

@@ -542,8 +542,9 @@ public:
/// Specify the module loading behavior of the compilation.
ModuleLoadingMode ModuleLoadMode = ModuleLoadingMode::PreferSerialized;
/// Legacy scanner search behavior.
bool NoScannerModuleValidation = false;
/// New scanner search behavior. Validate up-to-date existing Swift module
/// dependencies in the scanner itself.
bool ScannerModuleValidation = false;
/// Return all module search paths that (non-recursively) contain a file whose
/// name is in \p Filenames.
@@ -593,7 +594,7 @@ public:
hash_combine_range(RuntimeLibraryImportPaths.begin(),
RuntimeLibraryImportPaths.end()),
DisableModulesValidateSystemDependencies,
NoScannerModuleValidation,
ScannerModuleValidation,
ModuleLoadMode);
}