[clang] Exclude RedirectingFileSystem with null OverlayFileDir in VFSUsage (PR #128267)

Hiroshi Yamauchi via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 21 17:54:06 PST 2025


================
@@ -149,11 +149,16 @@ std::vector<bool> HeaderSearch::collectVFSUsageAndClear() const {
 
   llvm::vfs::FileSystem &RootFS = FileMgr.getVirtualFileSystem();
   // TODO: This only works if the `RedirectingFileSystem`s were all created by
----------------
hjyamauchi wrote:

This PR partially addresses the limitation described by this comment.

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


More information about the cfe-commits mailing list