[all-commits] [llvm/llvm-project] d6417f: [clangd] Implement "textDocument/documentLink" pro...
Michael Forster via All-commits
all-commits at lists.llvm.org
Thu Dec 12 05:55:26 PST 2019
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: d6417f5584aa7673fa0212029a96cc9cacb1aad5
https://github.com/llvm/llvm-project/commit/d6417f5584aa7673fa0212029a96cc9cacb1aad5
Author: Michael Forster <forster at google.com>
Date: 2019-12-12 (Thu, 12 Dec 2019)
Changed paths:
M clang-tools-extra/clangd/ClangdLSPServer.cpp
M clang-tools-extra/clangd/ClangdLSPServer.h
M clang-tools-extra/clangd/ClangdServer.cpp
M clang-tools-extra/clangd/ClangdServer.h
M clang-tools-extra/clangd/Protocol.cpp
M clang-tools-extra/clangd/Protocol.h
M clang-tools-extra/clangd/XRefs.cpp
M clang-tools-extra/clangd/XRefs.h
A clang-tools-extra/clangd/test/document-link.test
M clang-tools-extra/clangd/test/initialize-params.test
M clang-tools-extra/clangd/unittests/XRefsTests.cpp
Log Message:
-----------
[clangd] Implement "textDocument/documentLink" protocol support
Summary:
This adds an implementation for the "textDocument/documentLink" LSP request.
It returns links for all `#include` directives to the resolved target files.
Fixes https://github.com/clangd/clangd/issues/217.
Reviewers: sammccall
Reviewed By: sammccall
Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, kadircet, usaxena95, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D70872
More information about the All-commits
mailing list