[all-commits] [llvm/llvm-project] 71a082: [clangd] Implement textDocument/typeDefinition
Sam McCall via All-commits
all-commits at lists.llvm.org
Thu Jan 13 13:15:23 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 71a082f72674ceba0797748543dcef3620b22822
https://github.com/llvm/llvm-project/commit/71a082f72674ceba0797748543dcef3620b22822
Author: Sam McCall <sam.mccall at gmail.com>
Date: 2022-01-13 (Thu, 13 Jan 2022)
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/XRefs.cpp
M clang-tools-extra/clangd/XRefs.h
M clang-tools-extra/clangd/test/initialize-params.test
A clang-tools-extra/clangd/test/type-definition.test
M clang-tools-extra/clangd/unittests/XRefsTests.cpp
Log Message:
-----------
[clangd] Implement textDocument/typeDefinition
This reuses the type=>decl mapping from go-to-definition on auto.
(Which could stand some improvement, but that can happen later).
Fixes https://github.com/clangd/clangd/issues/367
Differential Revision: https://reviews.llvm.org/D116443
More information about the All-commits
mailing list