summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/test/clang-rename/ClassTestMultiByNameYAML.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [clang-rename] Merge rename-{at|all} & optimise.Kirill Bobyrev2016-09-161-10/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
* [clang-rename] merge tests when possibleKirill Bobyrev2016-08-101-0/+3
| | | | | | | | | | | The only difference between some tests is -offset passed to clang-rename. It makes sense to merge them into a single file and add multiple tool invocations. Reviewers: alexfh Differential Revision: https://reviews.llvm.org/D23158 llvm-svn: 278221
* clang-rename rename-all: support reading old/newname pairs from a YAML fileMiklos Vajna2016-08-091-0/+7
This is handy in case by the time clang-rename is invoked, an external tool already genereated a list of oldname -> newname pairs to handle. Reviewers: omtcyfz Differential Revision: https://reviews.llvm.org/D23198 llvm-svn: 278145
OpenPOWER on IntegriCloud