[PATCH] D84144: [clangd] Remove TokenBuffer usage in TypeHierarchy

Aleksandr Platonov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 20 02:21:23 PDT 2020


ArcsinX created this revision.
Herald added subscribers: cfe-commits, kbobyrev, usaxena95, kadircet, arphaman, jkorous, MaskRay, ilya-biryukov.
Herald added a project: clang.

This patch mostly reverts D74850 <https://reviews.llvm.org/D74850>.
We could not use `AST.getTokens()` here, because it does not have tokens from the preamble.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D84144

Files:
  clang-tools-extra/clangd/XRefs.cpp
  clang-tools-extra/clangd/unittests/SyncAPI.cpp
  clang-tools-extra/clangd/unittests/SyncAPI.h
  clang-tools-extra/clangd/unittests/TypeHierarchyTests.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D84144.279153.patch
Type: text/x-patch
Size: 7052 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200720/b8176caf/attachment.bin>


More information about the cfe-commits mailing list