[clangd] Config: loading and caching config from disk.
authorSam McCall <sam.mccall@gmail.com>
Wed, 1 Jul 2020 14:30:57 +0000 (16:30 +0200)
committerSam McCall <sam.mccall@gmail.com>
Sat, 4 Jul 2020 08:48:31 +0000 (10:48 +0200)
commit8bd000a65fe4452c09855115d5204a2a46838004
tree307f4b4ff6acc5b046707873a99e96d873e041a5
parentfed432523edfb29db0c4e28552695446d8cc4b1b
[clangd] Config: loading and caching config from disk.

Summary:
The Provider extension point is designed to also be implemented by
ClangdLSPServer (to inject config-over-lsp) and likely by embedders.

Reviewers: kadircet

Subscribers: mgorny, ilya-biryukov, MaskRay, jkorous, arphaman, jfb, usaxena95, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D82964
clang-tools-extra/clangd/CMakeLists.txt
clang-tools-extra/clangd/ConfigProvider.cpp [new file with mode: 0644]
clang-tools-extra/clangd/ConfigProvider.h
clang-tools-extra/clangd/unittests/CMakeLists.txt
clang-tools-extra/clangd/unittests/ConfigProviderTests.cpp [new file with mode: 0644]
clang-tools-extra/clangd/unittests/TestFS.cpp
clang-tools-extra/clangd/unittests/TestFS.h