[all-commits] [llvm/llvm-project] d95db1: [clangd] Extract common file-caching logic from Co...

Sam McCall via All-commits all-commits at lists.llvm.org
Wed Nov 25 03:14:19 PST 2020


  Branch: refs/heads/temp-test-main
  Home:   https://github.com/llvm/llvm-project
  Commit: d95db1693cbf80b9de58a94b50178fddd62c3e15
      https://github.com/llvm/llvm-project/commit/d95db1693cbf80b9de58a94b50178fddd62c3e15
  Author: Sam McCall <sam.mccall at gmail.com>
  Date:   2020-11-25 (Wed, 25 Nov 2020)

  Changed paths:
    M clang-tools-extra/clangd/ConfigProvider.cpp
    M clang-tools-extra/clangd/ConfigProvider.h
    M clang-tools-extra/clangd/support/CMakeLists.txt
    A clang-tools-extra/clangd/support/FileCache.cpp
    A clang-tools-extra/clangd/support/FileCache.h
    M clang-tools-extra/clangd/unittests/ConfigProviderTests.cpp
    A clang-tools-extra/clangd/unittests/support/FileCacheTests.cpp

  Log Message:
  -----------
  [clangd] Extract common file-caching logic from ConfigProvider.

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).

Differential Revision: https://reviews.llvm.org/D88172




More information about the All-commits mailing list