[all-commits] [llvm/llvm-project] 4dc836: [clangd] Remove support for pre-standard semanticH...

Sam McCall via All-commits all-commits at lists.llvm.org
Wed Feb 10 13:12:39 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4dc8365f80823d8042ba4bdc3278de7a42619c24
      https://github.com/llvm/llvm-project/commit/4dc8365f80823d8042ba4bdc3278de7a42619c24
  Author: Sam McCall <sam.mccall at gmail.com>
  Date:   2021-02-10 (Wed, 10 Feb 2021)

  Changed paths:
    M clang-tools-extra/clangd/ClangdLSPServer.cpp
    M clang-tools-extra/clangd/ClangdLSPServer.h
    M clang-tools-extra/clangd/ClangdServer.cpp
    M clang-tools-extra/clangd/ClangdServer.h
    M clang-tools-extra/clangd/Protocol.cpp
    M clang-tools-extra/clangd/Protocol.h
    M clang-tools-extra/clangd/SemanticHighlighting.cpp
    M clang-tools-extra/clangd/SemanticHighlighting.h
    M clang-tools-extra/clangd/TUScheduler.cpp
    M clang-tools-extra/clangd/TUScheduler.h
    R clang-tools-extra/clangd/test/semantic-highlighting.test
    M clang-tools-extra/clangd/test/semantic-tokens.test
    M clang-tools-extra/clangd/unittests/SemanticHighlightingTests.cpp

  Log Message:
  -----------
  [clangd] Remove support for pre-standard semanticHighlighting notification

This is obsoleted by the standard semanticTokens request family.
As well as the protocol details, this allows us to remove a bunch of plumbing
around pushing highlights to clients.

This should not land until the new protocol has feature parity, see D77702.

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




More information about the All-commits mailing list