[clang] [clang][deps] Only bypass scanning VFS for the module cache (PR #88800)

Jan Svoboda via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 16 09:49:50 PDT 2024


================
@@ -362,7 +357,7 @@ DependencyScanningWorkerFilesystem::openFileForRead(const Twine &Path) {
   SmallString<256> OwnedFilename;
   StringRef Filename = Path.toStringRef(OwnedFilename);
 
-  if (Filename.ends_with(".pcm"))
+  if (shouldBypass(Filename))
----------------
jansvoboda11 wrote:

All implicitly-built PCM files, yes. We'll now start caching explicitly-built PCM files (that were either passed on the command line or extracted from a PCH file), but these are immutable anyways, so that should be fine.

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


More information about the cfe-commits mailing list