[all-commits] [llvm/llvm-project] bda7d0: [clangd] Improve goToDefinition on auto and dectype
Quentin Chateau via All-commits
all-commits at lists.llvm.org
Tue Dec 15 07:37:53 PST 2020
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: bda7d0af970718c243d93b22a8449c20156e574f
https://github.com/llvm/llvm-project/commit/bda7d0af970718c243d93b22a8449c20156e574f
Author: Quentin Chateau <quentin.chateau at gmail.com>
Date: 2020-12-15 (Tue, 15 Dec 2020)
Changed paths:
M clang-tools-extra/clangd/XRefs.cpp
M clang-tools-extra/clangd/unittests/ASTTests.cpp
M clang-tools-extra/clangd/unittests/XRefsTests.cpp
Log Message:
-----------
[clangd] Improve goToDefinition on auto and dectype
locateSymbolAt (used in goToDeclaration) follows the
deduced type instead of failing to locate the declaration.
Reviewed By: sammccall
Differential Revision: https://reviews.llvm.org/D92977
More information about the All-commits
mailing list