[all-commits] [llvm/llvm-project] 2330ce: [clangd] Prefer the left character if the characte...
Haojian Wu via All-commits
all-commits at lists.llvm.org
Thu Nov 28 04:16:51 PST 2019
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 2330cee82f0aa06e8063189fe7a68db3e51f3054
https://github.com/llvm/llvm-project/commit/2330cee82f0aa06e8063189fe7a68db3e51f3054
Author: Haojian Wu <hokein.wu at gmail.com>
Date: 2019-11-28 (Thu, 28 Nov 2019)
Changed paths:
M clang-tools-extra/clangd/Selection.cpp
M clang-tools-extra/clangd/unittests/SelectionTests.cpp
M clang-tools-extra/clangd/unittests/SemanticSelectionTests.cpp
Log Message:
-----------
[clangd] Prefer the left character if the character on the right of the cursor is semicolon.
Summary: This would make go-to-def works on the cases like int A = abc^;
Reviewers: sammccall
Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, kadircet, usaxena95, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D70807
More information about the All-commits
mailing list