[PATCH] D53188: [clangd] XRef C++ API returns structure results, NFC

Haojian Wu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 12 03:12:04 PDT 2018


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

The representation of references in LSP is limitted (just location
information).  This patch makes our xref C++ API return structured results,
which allows other clients get more data for references.


Repository:
  rCTE Clang Tools Extra

https://reviews.llvm.org/D53188

Files:
  clangd/ClangdLSPServer.cpp
  clangd/ClangdServer.cpp
  clangd/ClangdServer.h
  clangd/XRefs.cpp
  clangd/XRefs.h
  unittests/clangd/XRefsTests.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D53188.169362.patch
Type: text/x-patch
Size: 8083 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20181012/d9d18a01/attachment.bin>


More information about the cfe-commits mailing list