diff options
author | Nathan James <n.james93@hotmail.co.uk> | 2021-03-09 14:35:20 +0000 |
---|---|---|
committer | Nathan James <n.james93@hotmail.co.uk> | 2021-03-09 14:35:21 +0000 |
commit | 0250b053b5aa7fc16408e6c037e5e71db5e9b012 (patch) | |
tree | 0825e1f7fec60143c863321db2fd7ae73def87ea /llvm/lib/Transforms/Utils/LoopRotationUtils.cpp | |
parent | 2e826088b9832067994e0348fc768b81632be687 (diff) | |
download | llvm-0250b053b5aa7fc16408e6c037e5e71db5e9b012.zip llvm-0250b053b5aa7fc16408e6c037e5e71db5e9b012.tar.gz llvm-0250b053b5aa7fc16408e6c037e5e71db5e9b012.tar.bz2 |
[clangd] Add a Filesystem that overlays Dirty files.
Create a `ThreadsafeFS` in the `DraftStore` that overlays the dirty file contents over another `ThreadsafeFS`.
This provides a nice thread-safe interface for using dirty file contents throughout the codebase, for example cross file refactoring.
Creating a Filesystem view will overlay a snapshot of the current contents, so if the draft store is updated while the view is being used, it will contain stale contents.
Reviewed By: sammccall
Differential Revision: https://reviews.llvm.org/D94554
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopRotationUtils.cpp')
0 files changed, 0 insertions, 0 deletions