llvm-project/clang-tools-extra/clang-rename
Kirill Bobyrev e5e7e153b5 [clang-rename] Merge rename-{at|all} & optimise.
Having both rename-at and rename-all both seems confusing and introduces
unneeded difficulties. After merging rename-at and rename-all maintaining main
function wrappers and custom help becomes redundant while CLI becomes less
confusing.

D24224 (which was the original patch causing buildbot failures) wasn't aware of
bugs caused by passing both -offset and -qualified-name. After D24224 was landed
it caused buildbot failures and therefor I just reverted it.

Two things that make this patch different from D24224 are:

* unittests/clang-rename was deleted, because it is unmaintained and doesn't do
much.
* Passing both `-offset` and `-qualified-name` isn't allowed anymore for the
sake of preventing bugs.

This patch is a trivial enhancement of accepted D24224 revision.

Tested with `ninja check-all`.

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

llvm-svn: 281710
2016-09-16 08:45:19 +00:00
..
tool [clang-rename] Merge rename-{at|all} & optimise. 2016-09-16 08:45:19 +00:00
CMakeLists.txt clangRename: Update libdeps to add clangASTMatchers. 2016-07-19 15:53:11 +00:00
RenamingAction.cpp [clang-rename] Enforce LLVM policy about braces around single line control flow statement body. 2016-09-04 22:50:41 +00:00
RenamingAction.h [clang-rename] Add comment after namespace closing 2016-09-05 09:42:02 +00:00
USRFinder.cpp [clang-rename] Enforce LLVM policy about braces around single line control flow statement body. 2016-09-04 22:50:41 +00:00
USRFinder.h [clang-rename] Fix Clang-tidy and IWYU warnings; other minor fixes 2016-09-04 22:19:52 +00:00
USRFindingAction.cpp [clang-rename] Merge rename-{at|all} & optimise. 2016-09-16 08:45:19 +00:00
USRFindingAction.h [clang-rename] Merge rename-{at|all} & optimise. 2016-09-16 08:45:19 +00:00
USRLocFinder.cpp [clang-rename] Enforce LLVM policy about braces around single line control flow statement body. 2016-09-04 22:50:41 +00:00
USRLocFinder.h [clang-rename] speedup RenamingAction 2016-07-29 10:16:45 +00:00