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 b693f67 commit 85a6e90Copy full SHA for 85a6e90
clang/lib/Tooling/DependencyScanning/DependencyScanningWorker.cpp
@@ -480,6 +480,8 @@ class DependencyScanningAction : public tooling::ToolAction {
480
// This will prevent us compiling individual modules asynchronously since
481
// FileManager is not thread-safe, but it does improve performance for now.
482
ScanInstance.getFrontendOpts().ModulesShareFileManager = true;
483
+ if (DepCASFS)
484
+ ScanInstance.getFrontendOpts().ModulesShareFileManager = false;
485
ScanInstance.getHeaderSearchOpts().ModuleFormat = "raw";
486
ScanInstance.getHeaderSearchOpts().ModulesIncludeVFSUsage =
487
any(OptimizeArgs & ScanningOptimizations::VFS);
0 commit comments