[all-commits] [llvm/llvm-project] 8f237f: [clangd] Support multiple cursors in selectionRange.
Sam McCall via All-commits
all-commits at lists.llvm.org
Wed Mar 25 10:01:16 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 8f237f9b09aa10fcb684a2ceddc3128e1cafadc7
https://github.com/llvm/llvm-project/commit/8f237f9b09aa10fcb684a2ceddc3128e1cafadc7
Author: Sam McCall <sam.mccall at gmail.com>
Date: 2020-03-25 (Wed, 25 Mar 2020)
Changed paths:
M clang-tools-extra/clangd/ClangdLSPServer.cpp
M clang-tools-extra/clangd/ClangdServer.cpp
M clang-tools-extra/clangd/ClangdServer.h
M clang-tools-extra/clangd/SemanticSelection.cpp
M clang-tools-extra/clangd/SemanticSelection.h
M clang-tools-extra/clangd/unittests/SemanticSelectionTests.cpp
M clang-tools-extra/clangd/unittests/SyncAPI.cpp
M clang-tools-extra/clangd/unittests/SyncAPI.h
M llvm/include/llvm/Testing/Support/Annotations.h
Log Message:
-----------
[clangd] Support multiple cursors in selectionRange.
Summary:
One change: because there's no way to signal failure individually for
each cursor, we now "succeed" with an empty range with no parent if a
cursor doesn't point at anything.
Reviewers: usaxena95
Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, kadircet, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D76741
More information about the All-commits
mailing list