[PATCH] D91702: [clangd] Implement textDocument/implementation (Xref layer)
Utkarsh Saxena via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Nov 18 05:54:52 PST 2020
usaxena95 created this revision.
Herald added subscribers: cfe-commits, kadircet, arphaman.
Herald added a project: clang.
usaxena95 requested review of this revision.
Herald added subscribers: MaskRay, ilya-biryukov.
Implements textdocument/implementation (https://microsoft.github.io/language-server-protocol/specification#textDocument_implementation)
There is no clear semantic in LSP, but VSCode has some documentation about the behaviour: "For an interface, this shows all the implementors of that interface and for abstract methods, this shows all concrete implementations of that method."
This currently shows all concrete methods that overrides a virtual function.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D91702
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: D91702.306075.patch
Type: text/x-patch
Size: 5386 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20201118/1a427a99/attachment.bin>
More information about the cfe-commits
mailing list