[all-commits] [llvm/llvm-project] 2c5ee7: [clangd] Query constructors in the index during re...

Haojian Wu via All-commits all-commits at lists.llvm.org
Thu Feb 13 01:18:59 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 2c5ee78de113484978450b834498e1b0e2aab5c4
      https://github.com/llvm/llvm-project/commit/2c5ee78de113484978450b834498e1b0e2aab5c4
  Author: Haojian Wu <hokein.wu at gmail.com>
  Date:   2020-02-13 (Thu, 13 Feb 2020)

  Changed paths:
    M clang-tools-extra/clangd/refactor/Rename.cpp
    M clang-tools-extra/clangd/unittests/RenameTests.cpp

  Log Message:
  -----------
  [clangd] Query constructors in the index during rename.

Summary:
Though this is not needed when using clangd's own index, other indexes
(e.g. kythe) need it, as classes and their constructors are different
symbols, otherwise we will miss renaming constructors.

Reviewers: kbobyrev

Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, kadircet, usaxena95, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D74411




More information about the All-commits mailing list