[all-commits] [llvm/llvm-project] 333620: [clangd] Support multiline semantic tokens

kadir çetinkaya via All-commits all-commits at lists.llvm.org
Wed Jun 29 04:49:40 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 333620d37a26949e9f66c823425cf9a2065e3890
      https://github.com/llvm/llvm-project/commit/333620d37a26949e9f66c823425cf9a2065e3890
  Author: Kadir Cetinkaya <kadircet at google.com>
  Date:   2022-06-29 (Wed, 29 Jun 2022)

  Changed paths:
    M clang-tools-extra/clangd/ClangdLSPServer.cpp
    M clang-tools-extra/clangd/SemanticHighlighting.cpp
    M clang-tools-extra/clangd/SemanticHighlighting.h
    M clang-tools-extra/clangd/unittests/SemanticHighlightingTests.cpp

  Log Message:
  -----------
  [clangd] Support multiline semantic tokens

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

Differential Revision: https://reviews.llvm.org/D127856




More information about the All-commits mailing list