[PATCH] D54077: [clangd] Implemented DraftFileSystem

Ilya Biryukov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 6 03:21:30 PST 2018


ilya-biryukov added a comment.

In https://reviews.llvm.org/D54077#1287289, @klimek wrote:

> don't most IDEs show whether a file is saved or just modified?


They do, but whenever you run the build from them, they will save all modified files before actually running it.

In https://reviews.llvm.org/D54077#1288455, @LutsenkoDanil wrote:

> I already made a patch which introduces such behavior (not uploaded here yet), and looks like it works well with draft fs: diagnostics updates for depended files in 'real-time' on typing for opened files and no seen performance glitches, in multi-threaded mode at least.
>  I suggest continue discussion when/if dependencies tracking will be implemented and real performance reduce introduced by this patch can be checked with real code.


Exciting! Please send it out! I'm also starting to look into this, but my work is mostly focused on watching files in the filesystem.


Repository:
  rCTE Clang Tools Extra

https://reviews.llvm.org/D54077





More information about the cfe-commits mailing list