[all-commits] [llvm/llvm-project] 699a59: [clangd] Mark "override" and "final" as modifiers

ckandeler via All-commits all-commits at lists.llvm.org
Mon Nov 21 13:01:26 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 699a59aa5865d8b10f42284f68c424a9123cb8b2
      https://github.com/llvm/llvm-project/commit/699a59aa5865d8b10f42284f68c424a9123cb8b2
  Author: Christian Kandeler <christian.kandeler at qt.io>
  Date:   2022-11-21 (Mon, 21 Nov 2022)

  Changed paths:
    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] Mark "override" and "final" as modifiers

... in semantic highlighting.
These specifiers cannot be identified by simple lexing (since e.g.
variables with these names can legally be declared), which means they
should be semantic tokens.

Reviewed By: sammccall

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




More information about the All-commits mailing list