[all-commits] [llvm/llvm-project] ca892f: [clangd] Enhance Clangd rename testing coverage

Kirill Bobyrev via All-commits all-commits at lists.llvm.org
Tue Nov 10 01:09:30 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: ca892f46fe12288f2abe9b60faba7664713d97af
      https://github.com/llvm/llvm-project/commit/ca892f46fe12288f2abe9b60faba7664713d97af
  Author: Kirill Bobyrev <kbobyrev at google.com>
  Date:   2020-11-10 (Tue, 10 Nov 2020)

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

  Log Message:
  -----------
  [clangd] Enhance Clangd rename testing coverage

We plan to eliminate error-prone and obsolete Clang-Rename API from Clangd. To
do that, we will introduce Decl canonicalization rules that will make renaming
code simpler and easier to maintain (D71880).

To ensure smooth transition to the new implementation, many Clang-Rename tests
will be adopted in Clangd to prevent any possible regressions. This patch is
the first in the chain of test migration patches. It improves existing tests
and adopts tests from Clang-Rename's alias, class and enum testing files.

Reviewed By: hokein

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




More information about the All-commits mailing list