We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
FileManager
CASFS
1 parent b732f1e commit 5755612Copy full SHA for 5755612
clang/lib/Tooling/DependencyScanning/DependencyScanningWorker.cpp
@@ -472,6 +472,8 @@ class DependencyScanningAction : public tooling::ToolAction {
472
// This will prevent us compiling individual modules asynchronously since
473
// FileManager is not thread-safe, but it does improve performance for now.
474
ScanInstance.getFrontendOpts().ModulesShareFileManager = true;
475
+ if (DepCASFS)
476
+ ScanInstance.getFrontendOpts().ModulesShareFileManager = false;
477
ScanInstance.getHeaderSearchOpts().ModuleFormat = "raw";
478
ScanInstance.getHeaderSearchOpts().ModulesIncludeVFSUsage =
479
any(OptimizeArgs & ScanningOptimizations::VFS);
0 commit comments