mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[ScanDependency] Add -experimental-clang-importer-direct-cc1-scan
Add an experimental option to tell dependency scanner to report clang cc1 args should be used to construct clang importer in all constructed swift-frontend tasks.
This commit is contained in:
@@ -1677,6 +1677,8 @@ void InterfaceSubContextDelegateImpl::inheritOptionsForBuildingInterface(
|
||||
|
||||
genericSubInvocation.getClangImporterOptions().DirectClangCC1ModuleBuild =
|
||||
clangImporterOpts.DirectClangCC1ModuleBuild;
|
||||
genericSubInvocation.getClangImporterOptions().ClangImporterDirectCC1Scan =
|
||||
clangImporterOpts.ClangImporterDirectCC1Scan;
|
||||
|
||||
// Validate Clang modules once per-build session flags must be consistent
|
||||
// across all module sub-invocations
|
||||
|
||||
Reference in New Issue
Block a user