[PATCH] D127856: [clangd] Support multiline semantic tokens
Kadir Cetinkaya via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Jun 15 06:46:08 PDT 2022
kadircet created this revision.
kadircet added reviewers: sammccall, nridge.
Herald added subscribers: usaxena95, arphaman.
Herald added a project: All.
kadircet requested review of this revision.
Herald added subscribers: cfe-commits, MaskRay, ilya-biryukov.
Herald added a project: clang-tools-extra.
Per LSP, multiline tokens should be handled as if they end at the end
of the line starting the token (there's also a capability to enable them, but
that's an adventure for a different day).
Fixes https://github.com/clangd/clangd/issues/1145
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D127856
Files:
clang-tools-extra/clangd/ClangdLSPServer.cpp
clang-tools-extra/clangd/SemanticHighlighting.cpp
clang-tools-extra/clangd/SemanticHighlighting.h
clang-tools-extra/clangd/unittests/SemanticHighlightingTests.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D127856.437134.patch
Type: text/x-patch
Size: 6658 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220615/8e7e228f/attachment.bin>
More information about the cfe-commits
mailing list