[clangd] Config: also propagate in sync (testing) mode
authorSam McCall <sam.mccall@gmail.com>
Tue, 14 Jul 2020 18:24:32 +0000 (20:24 +0200)
committerSam McCall <sam.mccall@gmail.com>
Wed, 15 Jul 2020 10:30:08 +0000 (12:30 +0200)
commitcf7160c0b0c1250596cc9b2ba0e41423ac465a8f
tree9de9dd1dbd3d8d628550e68a36060e4432f97183
parent22a084cfa337d5e5ea90eba5261f7937e28d250b
[clangd] Config: also propagate in sync (testing) mode

Summary:
I hit this while trying to add a config-over-LSP lit test, which I think
is an appropriate way to test this feature.

That needs a few more changes though...

Reviewers: kadircet

Subscribers: ilya-biryukov, javed.absar, MaskRay, jkorous, arphaman, usaxena95, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D83802
clang-tools-extra/clangd/TUScheduler.cpp
clang-tools-extra/clangd/TUScheduler.h
clang-tools-extra/clangd/unittests/TUSchedulerTests.cpp