[PATCH] D44305: [clangd] Add an interface that finds symbol by SymbolID in SymbolIndex.

Eric Liu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Mar 9 07:36:01 PST 2018


ioeric created this revision.
ioeric added a reviewer: sammccall.
Herald added subscribers: cfe-commits, jkorous-apple, ilya-biryukov, klimek.

Potential use case: argument go-to-definition result with symbol
information (e.g. function definition in cc file) that might not be in the AST.


Repository:
  rCTE Clang Tools Extra

https://reviews.llvm.org/D44305

Files:
  clangd/index/FileIndex.cpp
  clangd/index/FileIndex.h
  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: D44305.137751.patch
Type: text/x-patch
Size: 6537 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180309/83ced0d1/attachment.bin>


More information about the cfe-commits mailing list