[clangd] Switch FindSymbolsTests to use TestTU
authorKadir Cetinkaya <kadircet@google.com>
Wed, 1 Jul 2020 10:16:54 +0000 (12:16 +0200)
committerKadir Cetinkaya <kadircet@google.com>
Thu, 2 Jul 2020 12:25:45 +0000 (14:25 +0200)
commit37cc3ee8c5553ec02c133e80e9ac98f5ffa525d1
treecacb5dea7222de98f661a68417149ff0de9d1a0d
parent4cf24cb868b9fe9e65d2e4b27b8ec5fd5d5fb599
[clangd] Switch FindSymbolsTests to use TestTU

Summary:
This gets rid of the dependency on ClangdServer and a bunch of extra
infrastructure coming with it. Also enables us to clear SyncAPI, as it was the
sole user of runWorkspace/DocumentSymbols.

Reviewers: sammccall

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

Tags: #clang

Differential Revision: https://reviews.llvm.org/D82944
clang-tools-extra/clangd/unittests/FindSymbolsTests.cpp
clang-tools-extra/clangd/unittests/SyncAPI.cpp
clang-tools-extra/clangd/unittests/SyncAPI.h