[clang] [clang][scan-deps] Add option to disable caching stat failures (PR #144000)

Ben Langmuir via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 13 09:07:55 PDT 2025


================
@@ -1081,7 +1084,8 @@ int clang_scan_deps_main(int argc, char **argv, const llvm::ToolContext &) {
   };
 
   DependencyScanningService Service(ScanMode, Format, OptimizeArgs,
-                                    EagerLoadModules, /*TraceVFS=*/Verbose);
+                                    EagerLoadModules, /*TraceVFS=*/Verbose,
+                                    CacheNegativeStats);
----------------
benlangmuir wrote:

I think this is passing the flag to the `BuildSessionTimestamp` parameter.

https://github.com/llvm/llvm-project/pull/144000


More information about the cfe-commits mailing list