[all-commits] [llvm/llvm-project] 0d893f: [clangd] Add a symbol-name-based blacklist for ren...

Haojian Wu via All-commits all-commits at lists.llvm.org
Wed Jan 29 01:32:47 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 0d893fda4305f19be18bc60f56839f2143c78b38
      https://github.com/llvm/llvm-project/commit/0d893fda4305f19be18bc60f56839f2143c78b38
  Author: Haojian Wu <hokein.wu at gmail.com>
  Date:   2020-01-29 (Wed, 29 Jan 2020)

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

  Log Message:
  -----------
  [clangd] Add a symbol-name-based blacklist for rename.

Summary:
This patch adds a simple mechanism to disallow global rename
on std symbols. We might extend it to other symbols, e.g. protobuf.

Reviewers: kadircet

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

Tags: #clang

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




More information about the All-commits mailing list