[PATCH] D88172: [clangd] Extract common file-caching logic from ConfigProvider.

Sam McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 23 11:01:19 PDT 2020


sammccall created this revision.
sammccall added a reviewer: kbobyrev.
Herald added subscribers: cfe-commits, usaxena95, kadircet, jfb, arphaman, mgorny.
Herald added a project: clang.
sammccall requested review of this revision.
Herald added subscribers: MaskRay, ilya-biryukov.

The plan is to use this to use this for .clang-format, .clang-tidy, and
compile_commands.json. (Currently the former two are reparsed every
time, and the latter is cached forever and changes are never seen).


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D88172

Files:
  clang-tools-extra/clangd/ConfigProvider.cpp
  clang-tools-extra/clangd/ConfigProvider.h
  clang-tools-extra/clangd/support/CMakeLists.txt
  clang-tools-extra/clangd/support/FileCache.cpp
  clang-tools-extra/clangd/support/FileCache.h
  clang-tools-extra/clangd/unittests/ConfigProviderTests.cpp
  clang-tools-extra/clangd/unittests/support/FileCacheTests.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D88172.293805.patch
Type: text/x-patch
Size: 17297 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200923/0fe4aef9/attachment-0001.bin>


More information about the cfe-commits mailing list