[all-commits] [llvm/llvm-project] c91180: [clangd] Remove TokenBuffer usage in TypeHierarchy

Aleksandr Platonov via All-commits all-commits at lists.llvm.org
Mon Jul 20 12:04:53 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: c911803d5df0f8a781b56849180b4b93a61306a7
      https://github.com/llvm/llvm-project/commit/c911803d5df0f8a781b56849180b4b93a61306a7
  Author: Aleksandr Platonov <platonov.aleksandr at huawei.com>
  Date:   2020-07-20 (Mon, 20 Jul 2020)

  Changed paths:
    M clang-tools-extra/clangd/XRefs.cpp
    M clang-tools-extra/clangd/unittests/TypeHierarchyTests.cpp

  Log Message:
  -----------
  [clangd] Remove TokenBuffer usage in TypeHierarchy

Summary:
This patch mostly reverts D74850.
We could not use `AST.getTokens()` here, because it does not have tokens from the preamble.

Reviewers: sammccall, kadircet

Reviewed By: kadircet

Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, kadircet, usaxena95, kbobyrev, cfe-commits

Tags: #clang

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




More information about the All-commits mailing list