[PATCH] D24224: [clang-rename] Merge rename-{ at | all } and optimise USRFindingAction.
Kirill Bobyrev via cfe-commits
cfe-commits at lists.llvm.org
Sun Sep 4 16:52:11 PDT 2016
omtcyfz created this revision.
omtcyfz added reviewers: alexfh, ioeric, vmiklos.
omtcyfz added subscribers: cfe-commits, Eugene.Zelenko.
Having both rename-at and rename-all both seems confusing and introduces unneeded difficulties. Allowing to use both -qualified-name and -offset at once while performing efficient renamings seems like a feature, too. Maintaining `main` function wrappers and custom `help` becomes redundant while CLI becomes less confusing.
This is basically D23651 done right.
This patch belongs to a sequence of patches needed for painless migration to clang-refactor, see D24192.
https://reviews.llvm.org/D24224
Files:
clang-rename/USRFindingAction.cpp
clang-rename/USRFindingAction.h
clang-rename/tool/ClangRename.cpp
docs/clang-rename.rst
test/clang-rename/ClassFindByName.cpp
test/clang-rename/ClassTestMulti.cpp
test/clang-rename/ClassTestMultiByName.cpp
test/clang-rename/ClassTestMultiByNameYAML.cpp
test/clang-rename/CouldNotFindSymbol.cpp
test/clang-rename/FunctionWithClassFindByName.cpp
test/clang-rename/Inputs/ClassTestMultiByNameYAMLRenameAll.yaml
test/clang-rename/Inputs/ClassTestMultiByNameYAMLRenameAt.yaml
test/clang-rename/Inputs/YAMLInputUseBoth.yaml
test/clang-rename/Inputs/YAMLInputUseOffsets.yaml
test/clang-rename/Inputs/YAMLInputUseQualifeidNames.yaml
test/clang-rename/InvalidOldName.cpp
test/clang-rename/NoNewName.cpp
test/clang-rename/PassYAMLInput.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D24224.70300.patch
Type: text/x-patch
Size: 29045 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160904/6ac6e434/attachment-0001.bin>
More information about the cfe-commits
mailing list