[clangd] Remove codeComplete that returns std::future<>
authorIlya Biryukov <ibiryukov@google.com>
Mon, 12 Feb 2018 11:37:28 +0000 (11:37 +0000)
committerIlya Biryukov <ibiryukov@google.com>
Mon, 12 Feb 2018 11:37:28 +0000 (11:37 +0000)
commitcd5eb00e8ba9f51a608c0252af31dcb6a911b731
treea562da108d6af5b3304a405170bf52499ab40d39
parentdc4ed35ea6969a73d64af045d7c624e985d88f5e
[clangd] Remove codeComplete that returns std::future<>

Summary:
It was deprecated and callback version and is used everywhere.
Only changes to the testing code were needed.

Reviewers: hokein, ioeric, sammccall

Reviewed By: sammccall

Subscribers: mgorny, klimek, jkorous-apple, cfe-commits

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

llvm-svn: 324883
clang-tools-extra/clangd/ClangdServer.cpp
clang-tools-extra/clangd/ClangdServer.h
clang-tools-extra/unittests/clangd/CMakeLists.txt
clang-tools-extra/unittests/clangd/ClangdTests.cpp
clang-tools-extra/unittests/clangd/CodeCompleteTests.cpp
clang-tools-extra/unittests/clangd/SyncAPI.cpp [new file with mode: 0644]
clang-tools-extra/unittests/clangd/SyncAPI.h [new file with mode: 0644]