[clangd] Remove LSP command-based #include insertion.
authorEric Liu <ioeric@google.com>
Tue, 15 May 2018 15:23:53 +0000 (15:23 +0000)
committerEric Liu <ioeric@google.com>
Tue, 15 May 2018 15:23:53 +0000 (15:23 +0000)
commit2c1905386c0c4e73dc4e729a76f1095acdff2d2f
tree95d9722831cfdce2a86906fd8c65fb26c28f1dfa
parenta7c3c45267c657e1fde4020cb73d31a0dc10ba0f
[clangd] Remove LSP command-based #include insertion.

Summary:
clangd will populate #include insertions as addtionalEdits in completion items.

The code completion tests in ClangdServerTest will be added back in D46497.

Reviewers: ilya-biryukov, sammccall

Reviewed By: ilya-biryukov

Subscribers: klimek, MaskRay, jkorous, cfe-commits

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

llvm-svn: 332362
clang-tools-extra/clangd/ClangdLSPServer.cpp
clang-tools-extra/clangd/ClangdServer.cpp
clang-tools-extra/clangd/ClangdServer.h
clang-tools-extra/clangd/CodeComplete.cpp
clang-tools-extra/clangd/Protocol.cpp
clang-tools-extra/clangd/Protocol.h
clang-tools-extra/test/clangd/initialize-params-invalid.test
clang-tools-extra/test/clangd/initialize-params.test
clang-tools-extra/test/clangd/insert-include.test [deleted file]
clang-tools-extra/unittests/clangd/ClangdTests.cpp