llvm-project/clang/lib/Tooling/Refactoring
Haojian Wu f6c0678db7 [clang-refactor] Get rid of OccurrencesFinder in RenamingAction, NFC
Summary:
The OccurrencesFinder is only used in RenameOccurrences to find symbol
occurrences, there is no need to inherit RefactoringRule.

Replace it with a single utility function to avoid code misleading.

Reviewers: sammccall

Reviewed By: sammccall

Subscribers: klimek, cfe-commits

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

llvm-svn: 317696
2017-11-08 14:53:08 +00:00
..
Extract Move Extract.cpp that wasn't moved in r317343 2017-11-03 18:21:06 +00:00
Rename [clang-refactor] Get rid of OccurrencesFinder in RenamingAction, NFC 2017-11-08 14:53:08 +00:00
ASTSelection.cpp [refactor][selection] canonicalize selected string literal to objc 2017-11-02 18:05:48 +00:00
ASTSelectionRequirements.cpp [refactor] Initial outline of implementation of "extract function" refactoring 2017-10-24 17:18:45 +00:00
AtomicChange.cpp [refactor] add clang-refactor tool with initial testing support and 2017-09-14 10:06:52 +00:00
CMakeLists.txt [refactor][extract] insert semicolons into extracted/inserted code 2017-11-03 18:11:22 +00:00
RefactoringActions.cpp [clang-refactor] Introduce a new rename rule for qualified symbols 2017-11-08 08:56:56 +00:00