[clangd] Extract binding of typed->untyped LSP handlers to LSPBinder. NFC
authorSam McCall <sam.mccall@gmail.com>
Thu, 11 Feb 2021 21:47:58 +0000 (22:47 +0100)
committerSam McCall <sam.mccall@gmail.com>
Mon, 15 Feb 2021 09:48:14 +0000 (10:48 +0100)
commit5786f64a4ec806877f39fa0c28dcb90f9492b68c
tree33f7d7ab5dc4afd85bb08297c87ecfd9d37a2f98
parent34ea608a473a5c67263c49255551ea348ffc1700
[clangd] Extract binding of typed->untyped LSP handlers to LSPBinder. NFC

The goal is to allow the LSP bindings of features to be defined outside
the ClangdLSPServer class, turning it into less of a monolith.

Differential Revision: https://reviews.llvm.org/D96544
clang-tools-extra/clangd/ClangdLSPServer.cpp
clang-tools-extra/clangd/ClangdLSPServer.h
clang-tools-extra/clangd/LSPBinder.h [new file with mode: 0644]
clang-tools-extra/clangd/unittests/CMakeLists.txt
clang-tools-extra/clangd/unittests/LSPBinderTests.cpp [new file with mode: 0644]