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.
2 parents b693f67 + 85a6e90 commit 18fb16cCopy full SHA for 18fb16c
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