njames93 added a comment.

So I did some tweaking and I have a snapshot filesystem that will hold shared 
references to the contents, thereby avoiding the need to copy the file contents.
It works for rename and tweaks with no visible issues.
Reasoning behind this a long term goal of letting a user choose between using 
on disk or dirty buffers when building preambles. 
Obviously there, if using dirty buffers, we wouldn't want to be copying every 
open file (even unused files) during preamble building/checking.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D93978/new/

https://reviews.llvm.org/D93978

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to