[clangd] Bind outgoing calls through LSPBinder too. NFC
authorSam McCall <sam.mccall@gmail.com>
Mon, 15 Feb 2021 09:41:38 +0000 (10:41 +0100)
committerSam McCall <sam.mccall@gmail.com>
Wed, 17 Feb 2021 09:56:06 +0000 (10:56 +0100)
commit7b83837af6f472e9c0ed0b96b78717d4a3c4dbfe
treece9b23795bf92139001dff32624e6d26f806c994
parentdea4a63e635924ef6c00556d8f30d94e36864274
[clangd] Bind outgoing calls through LSPBinder too. NFC

The redundancy around work-done-progress is annoying but ok for now.

There's a weirdness with context lifetimes around outgoing method calls, which
I've preserved to keep this NFC. We should probably fix it though.

Differential Revision: https://reviews.llvm.org/D96717
clang-tools-extra/clangd/ClangdLSPServer.cpp
clang-tools-extra/clangd/ClangdLSPServer.h
clang-tools-extra/clangd/LSPBinder.h
clang-tools-extra/clangd/Module.h
clang-tools-extra/clangd/unittests/ClangdLSPServerTests.cpp
clang-tools-extra/clangd/unittests/LSPBinderTests.cpp