[all-commits] [llvm/llvm-project] f4d7ca: [clangd] Reland Store Index in Tweak::Selection

kadir çetinkaya via All-commits all-commits at lists.llvm.org
Sun Oct 27 23:56:29 PDT 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: f4d7caf6df819d18b4d5b460d21f7f8fe1e1b705
      https://github.com/llvm/llvm-project/commit/f4d7caf6df819d18b4d5b460d21f7f8fe1e1b705
  Author: Kadir Cetinkaya <kadircet at google.com>
  Date:   2019-10-28 (Mon, 28 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] Reland 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