mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[Caching] Switch clang-include-tree to be default for clang modules
Switch to use clang-include-tree by default for clang module building/caching when using a CAS. This is the default mode for clang module and has less issues than CAS file system based implementation.
This commit is contained in:
@@ -1655,10 +1655,9 @@ void InterfaceSubContextDelegateImpl::inheritOptionsForBuildingInterface(
|
||||
}
|
||||
}
|
||||
|
||||
if (clangImporterOpts.UseClangIncludeTree) {
|
||||
genericSubInvocation.getClangImporterOptions().UseClangIncludeTree =
|
||||
clangImporterOpts.UseClangIncludeTree;
|
||||
GenericArgs.push_back("-clang-include-tree");
|
||||
if (!clangImporterOpts.UseClangIncludeTree) {
|
||||
genericSubInvocation.getClangImporterOptions().UseClangIncludeTree = false;
|
||||
GenericArgs.push_back("-no-clang-include-tree");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user