[PATCH] D91930: [clangd] Implement textDocument/codeLens
WangWei via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sun Nov 22 05:32:51 PST 2020
lightmelodies created this revision.
lightmelodies added reviewers: kadircet, sammccall.
lightmelodies added a project: clang-tools-extra.
Herald added subscribers: cfe-commits, usaxena95, arphaman, javed.absar.
Herald added a project: clang.
lightmelodies requested review of this revision.
Herald added subscribers: MaskRay, ilya-biryukov.
This commit adds support for https://microsoft.github.io/language-server-protocol/specification#textDocument_codeLens.
See also https://github.com/clangd/clangd/issues/442.
For client usage see https://github.com/lightmelodies/vscode-clangd/commit/c00f74d0d2403a4753dab8b8a0a8dbc8bb6ffdf4.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D91930
Files:
clang-tools-extra/clangd/ClangdLSPServer.cpp
clang-tools-extra/clangd/ClangdLSPServer.h
clang-tools-extra/clangd/ClangdServer.cpp
clang-tools-extra/clangd/ClangdServer.h
clang-tools-extra/clangd/Protocol.cpp
clang-tools-extra/clangd/Protocol.h
clang-tools-extra/clangd/TUScheduler.h
clang-tools-extra/clangd/XRefs.cpp
clang-tools-extra/clangd/XRefs.h
clang-tools-extra/clangd/test/initialize-params.test
clang-tools-extra/clangd/tool/ClangdMain.cpp
clang-tools-extra/clangd/unittests/XRefsTests.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D91930.306906.patch
Type: text/x-patch
Size: 34929 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20201122/b5928a17/attachment-0001.bin>
More information about the cfe-commits
mailing list