[PATCH] D47063: [clangd] Keep only a limited number of idle ASTs in memory

Ilya Biryukov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu May 24 01:52:21 PDT 2018


ilya-biryukov updated this revision to Diff 148355.
ilya-biryukov added a comment.

- Reimplemented LRU cache with shared_ptr and weak_ptr.


Repository:
  rCTE Clang Tools Extra

https://reviews.llvm.org/D47063

Files:
  clangd/ClangdUnit.cpp
  clangd/ClangdUnit.h
  clangd/TUScheduler.cpp
  clangd/TUScheduler.h
  test/clangd/trace.test

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D47063.148355.patch
Type: text/x-patch
Size: 30363 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180524/c06b3e5f/attachment-0001.bin>


More information about the cfe-commits mailing list