[all-commits] [llvm/llvm-project] 6c5f17: [clangd] Delay binding LSP methods until initializ...
Sam McCall via All-commits
all-commits at lists.llvm.org
Mon Feb 15 10:33:58 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6c5f17e701ff586d69a43b3cfc1e25314b84892d
https://github.com/llvm/llvm-project/commit/6c5f17e701ff586d69a43b3cfc1e25314b84892d
Author: Sam McCall <sam.mccall at gmail.com>
Date: 2021-02-15 (Mon, 15 Feb 2021)
Changed paths:
M clang-tools-extra/clangd/ClangdLSPServer.cpp
M clang-tools-extra/clangd/ClangdLSPServer.h
Log Message:
-----------
[clangd] Delay binding LSP methods until initialize. NFC
This is NFC because the MessageHandler refused to dispatch to them until the
server is initialized anyway.
This is a more natural time to bind them - it's when they become callable, and
it's when client capabalities are available and server ones can be set.
One module-lifecycle function will be responsible for all three.
Differential Revision: https://reviews.llvm.org/D96608
More information about the All-commits
mailing list