[PATCH] D52419: [clangd] Cache FS stat() calls when building preamble.

Eric Liu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 24 07:45:23 PDT 2018


ioeric added inline comments.


================
Comment at: clangd/ClangdUnit.cpp:119
 
+/// Collect and cache all file status from the underlying file system.
+class CollectStatCacheVFS : public vfs::FileSystem {
----------------
Would it make sense to add a `clang::vfs::ProxyFS` that proxies calls to underlying FS by default and allows to override some methods?


Repository:
  rCTE Clang Tools Extra

https://reviews.llvm.org/D52419





More information about the cfe-commits mailing list