This is an automated email from the git hooks/post-receive script.
unknown user pushed a change to branch master in repository clang-tools-extra.
from 3a4dfd62 [clangd] Penalize file-scope symbols in the ranking for non-c [...] new ece24a8e [clangd] Lib to compute and represent selection under cursor. new c82e996b [clangd] Lib to compute and represent selection under cursor. new 3531ea17 [clangd] Expose SelectionTree to code tweaks, and use it for [...]
The 3 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference.
Summary of changes: clangd/CMakeLists.txt | 1 + clangd/ClangdServer.cpp | 41 ++-- clangd/Selection.cpp | 301 ++++++++++++++++++++++++++++++ clangd/Selection.h | 123 ++++++++++++ clangd/refactor/Tweak.cpp | 8 + clangd/refactor/Tweak.h | 7 +- clangd/refactor/tweaks/SwapIfBranches.cpp | 55 ++---- unittests/clangd/CMakeLists.txt | 1 + unittests/clangd/SelectionTests.cpp | 244 ++++++++++++++++++++++++ unittests/clangd/TweakTests.cpp | 47 ++++- 10 files changed, 754 insertions(+), 74 deletions(-) create mode 100644 clangd/Selection.cpp create mode 100644 clangd/Selection.h create mode 100644 unittests/clangd/SelectionTests.cpp