[all-commits] [llvm/llvm-project] ddfe13: [clangd] Produce semantic token for name referring...

Nathan Ridge via All-commits all-commits at lists.llvm.org
Sun Apr 25 13:45:36 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ddfe13e757cb72c056cba8d889d6cb8ee69f1afa
      https://github.com/llvm/llvm-project/commit/ddfe13e757cb72c056cba8d889d6cb8ee69f1afa
  Author: Nathan Ridge <zeratul976 at hotmail.com>
  Date:   2021-04-25 (Sun, 25 Apr 2021)

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

  Log Message:
  -----------
  [clangd] Produce semantic token for name referring to UnresolvedUsingValueDecl

For now, use the token kind Unknown. We may be able to improve on this
using HeuristicResolver.

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


  Commit: d941863de2becb3d8d2e00676fc7125974934c7f
      https://github.com/llvm/llvm-project/commit/d941863de2becb3d8d2e00676fc7125974934c7f
  Author: Nathan Ridge <zeratul976 at hotmail.com>
  Date:   2021-04-25 (Sun, 25 Apr 2021)

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

  Log Message:
  -----------
  [clangd] Use HeuristicResolver to produce a better semantic token for name referring to UnresolvedUsingValueDecl

Fixes https://github.com/clangd/clangd/issues/686

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


Compare: https://github.com/llvm/llvm-project/compare/b493193d74ea...d941863de2be


More information about the All-commits mailing list