SuccessChanges

Summary

  1. [clangd] Implement GetEligiblePoints (details)
  2. [clangd] Store Index in Tweak::Selection (details)
Commit d62e3ed3f4b9e1c7492194d0c9997147bdfe6aa6 by kadircet
[clangd] Implement GetEligiblePoints
Summary: This is an helper for incoming move definition out-of-line
action to figure out possible insertion locations for definition of a
qualified name.
Reviewers: hokein, ilya-biryukov
Subscribers: MaskRay, jkorous, arphaman, usaxena95, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D68024
The file was modifiedclang-tools-extra/clangd/SourceCode.cpp
The file was modifiedclang-tools-extra/clangd/unittests/SourceCodeTests.cpp
The file was modifiedclang-tools-extra/clangd/SourceCode.h
Commit 8aa84ad37db7ddbff5c1a2e4ef8ff2a616f1da57 by kadircet
[clangd] Store Index in Tweak::Selection
Summary: Incoming define out-of-line tweak requires access to index.
This patch simply propogates the index in ClangdServer to
Tweak::Selection while passing the AST. Also updates TweakTest to
accommodate this change.
Reviewers: ilya-biryukov
Subscribers: MaskRay, jkorous, arphaman, usaxena95, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D69165
The file was modifiedclang-tools-extra/clangd/refactor/Tweak.h
The file was modifiedclang-tools-extra/clangd/refactor/Tweak.cpp
The file was modifiedclang-tools-extra/clangd/ClangdServer.cpp
The file was modifiedclang-tools-extra/clangd/unittests/TweakTesting.h
The file was modifiedclang-tools-extra/clangd/unittests/TweakTesting.cpp