[all-commits] [llvm/llvm-project] 8aa84a: [clangd] Store Index in Tweak::Selection
kadir çetinkaya via All-commits
all-commits at lists.llvm.org
Fri Oct 25 03:16:37 PDT 2019
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 8aa84ad37db7ddbff5c1a2e4ef8ff2a616f1da57
https://github.com/llvm/llvm-project/commit/8aa84ad37db7ddbff5c1a2e4ef8ff2a616f1da57
Author: Kadir Cetinkaya <kadircet at google.com>
Date: 2019-10-25 (Fri, 25 Oct 2019)
Changed paths:
M clang-tools-extra/clangd/ClangdServer.cpp
M clang-tools-extra/clangd/refactor/Tweak.cpp
M clang-tools-extra/clangd/refactor/Tweak.h
M clang-tools-extra/clangd/unittests/TweakTesting.cpp
M clang-tools-extra/clangd/unittests/TweakTesting.h
Log Message:
-----------
[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
More information about the All-commits
mailing list