[PATCH] D92133: [clangd] Cache .clang-tidy files again.

Sam McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 25 13:28:42 PST 2020


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

This cache went away in 73fdd998701cce3aa6c4d8d2a73ab97351a0313b <https://reviews.llvm.org/rG73fdd998701cce3aa6c4d8d2a73ab97351a0313b>

This time, the cache is periodically validated against disk, so config
is still mostly "live".

The per-file cache reuses FileCache, but the tree-of-file-caches is
duplicated from ConfigProvider. .clangd, .clang-tidy, .clang-format, and
compile_commands.json all have this pattern, we should extract it at some point.
TODO for now though.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D92133

Files:
  clang-tools-extra/clangd/TidyProvider.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D92133.307710.patch
Type: text/x-patch
Size: 7986 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20201125/e2538359/attachment.bin>


More information about the cfe-commits mailing list