[clang] [clang][Dependency Scanning] Adding an API to Diagnose Invalid Negative Stat Cache Entries (PR #135703)

Qiongsi Wu via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 17 16:02:08 PDT 2025


================
@@ -108,6 +108,32 @@ DependencyScanningFilesystemSharedCache::getShardForUID(
   return CacheShards[Hash % NumShards];
 }
 
+void DependencyScanningFilesystemSharedCache::
+    diagnoseInvalidNegativeStatCachedPaths(
+        std::vector<std::string> &InvalidPaths,
----------------
qiongsiwu wrote:

Nope - fixed. Is it a style preference that we prefer a return value? I use either freely and I don't have a strong preference either way. 

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


More information about the cfe-commits mailing list