[all-commits] [llvm/llvm-project] c39dcd: [c++20][clangd] Simplify code using the new `Conce...

jensmassberg via All-commits all-commits at lists.llvm.org
Thu Aug 31 04:56:13 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c39dcd2c2bc7fd142ac8305b3a41f24e1addbd8c
  Author: Jens Massberg <massberg at google.com>
  Date:   2023-08-31 (Thu, 31 Aug 2023)

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

  Log Message:
  [c++20][clangd] Simplify code using the new `ConceptReference` nodes.

Directly traverse `ConceptReference`s in FindTarget.cpp.

There is no need for the extra logic for `AutoTypeLoc`s in SemanticHightlighting.cpp as the concept information is stored in a `ConceptReference` which is now traversed.

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

More information about the All-commits mailing list