[PATCH] D101388: [clangd] Add SymbolID to LocatedSymbol.

Utkarsh Saxena via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 27 11:48:52 PDT 2021


usaxena95 created this revision.
usaxena95 added a reviewer: sammccall.
Herald added subscribers: kadircet, arphaman.
usaxena95 requested review of this revision.
Herald added subscribers: cfe-commits, MaskRay, ilya-biryukov.
Herald added a project: clang-tools-extra.

This is useful for running clangd in batch mode. We do not have to both
locate the symbol and also query the SymbolID (using getSymbolInfo).


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D101388

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D101388.340933.patch
Type: text/x-patch
Size: 4436 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210427/4fcf280c/attachment-0001.bin>


More information about the cfe-commits mailing list