This is an archive of the discontinued LLVM Phabricator instance.

[clang-refactor] Get rid of OccurrencesFinder in RenamingAction, NFC
ClosedPublic

Authored by hokein on Nov 8 2017, 5:45 AM.

Details

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.

Diff Detail

Repository
rL LLVM

Event Timeline

hokein created this revision.Nov 8 2017, 5:45 AM
sammccall accepted this revision.Nov 8 2017, 6:37 AM

(This seems trivial enough to submit without review FWIW)

This revision is now accepted and ready to land.Nov 8 2017, 6:37 AM
This revision was automatically updated to reflect the committed changes.