[all-commits] [llvm/llvm-project] c814f4: [clangd] Do not highlight keywords in semantic hig...

Ilya Biryukov via All-commits all-commits at lists.llvm.org
Mon Oct 28 04:04:29 PDT 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: c814f4c4592cf0a6049a56b09442369d8e6eb9d7
      https://github.com/llvm/llvm-project/commit/c814f4c4592cf0a6049a56b09442369d8e6eb9d7
  Author: Ilya Biryukov <ibiryukov at google.com>
  Date:   2019-10-28 (Mon, 28 Oct 2019)

  Changed paths:
    M clang-tools-extra/clangd/SemanticHighlighting.cpp
    M clang-tools-extra/clangd/test/semantic-highlighting.test
    M clang-tools-extra/clangd/unittests/SemanticHighlightingTests.cpp
    M clang-tools-extra/clangd/unittests/TweakTests.cpp

  Log Message:
  -----------
  [clangd] Do not highlight keywords in semantic highlighting

Summary:
Editors are good at highlightings the keywords themselves.
Note that this only affects highlightings of builtin types spelled out
as keywords in the source code. Highlightings of typedefs to builtin
types are unchanged.

Reviewers: hokein

Reviewed By: hokein

Subscribers: merge_guards_bot, MaskRay, jkorous, arphaman, kadircet, usaxena95, cfe-commits

Tags: #clang

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




More information about the All-commits mailing list