[all-commits] [llvm/llvm-project] 5eec9a: [clangd] Detect rename conflicits within enclosing...

Kirill Bobyrev via All-commits all-commits at lists.llvm.org
Thu Feb 4 00:46:12 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5eec9a380a24bf0611c676b5da4933949c787a6b
      https://github.com/llvm/llvm-project/commit/5eec9a380a24bf0611c676b5da4933949c787a6b
  Author: Kirill Bobyrev <kbobyrev at google.com>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

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

  Log Message:
  -----------
  [clangd] Detect rename conflicits within enclosing scope

This patch allows detecting conflicts with variables defined in the current
CompoundStmt or If/While/For variable init statements.

Reviewed By: hokein

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




More information about the All-commits mailing list