[all-commits] [llvm/llvm-project] 118f78: [clang-rename] Respect the traversal scope when tr...

Haojian Wu via All-commits all-commits at lists.llvm.org
Thu Nov 7 01:44:18 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 118f7836a65e864ef3c7e015d58ca370fee65e89
      https://github.com/llvm/llvm-project/commit/118f7836a65e864ef3c7e015d58ca370fee65e89
  Author: Haojian Wu <hokein.wu at gmail.com>
  Date:   2019-11-07 (Thu, 07 Nov 2019)

  Changed paths:
    M clang/lib/Tooling/Refactoring/Rename/USRFindingAction.cpp

  Log Message:
  -----------
  [clang-rename] Respect the traversal scope when traversing the entire AST.

Summary:
This should be NFC to clang-rename, by default the traversal scope is
TUDecl. Traversing the TUDecl in clangd is a performance cliff, we should
avoid it.

Reviewers: ilya-biryukov

Subscribers: kadircet, usaxena95, cfe-commits

Tags: #clang

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




More information about the All-commits mailing list