[PATCH] D49658: [clangd] Index Interfaces for Xrefs

Haojian Wu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 23 00:04:21 PDT 2018


hokein created this revision.
hokein added a reviewer: sammccall.
Herald added subscribers: arphaman, jkorous, MaskRay, ioeric, ilya-biryukov.

This is the first step of implementing Xrefs in clangd:

- add index interfaces, and related data structures.
- implement a naive in-memory index for symbol occurrences.


Repository:
  rCTE Clang Tools Extra

https://reviews.llvm.org/D49658

Files:
  clangd/FindSymbols.h
  clangd/index/FileIndex.cpp
  clangd/index/FileIndex.h
  clangd/index/Index.cpp
  clangd/index/Index.h
  clangd/index/MemIndex.cpp
  clangd/index/MemIndex.h
  clangd/index/Merge.cpp
  unittests/clangd/CodeCompleteTests.cpp
  unittests/clangd/IndexTests.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D49658.156724.patch
Type: text/x-patch
Size: 14910 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180723/3086f8f0/attachment-0001.bin>


More information about the cfe-commits mailing list