This is an archive of the discontinued LLVM Phabricator instance.

[clang-rename] Merge rename-{at|all} & optimise.
ClosedPublic

Authored by omtcyfz on Sep 14 2016, 9:04 AM.

Details

Summary

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.

D24224 was reverted and this patch previous diff to disallow both options present within single invocation.

Old and unmaintaned clang-rename unittest is deleted.

Diff Detail

Repository
rL LLVM

Event Timeline

omtcyfz updated this revision to Diff 71367.Sep 14 2016, 9:04 AM
omtcyfz retitled this revision from to [clang-rename] Merge rename-{at|all} & optimise..
omtcyfz updated this object.
omtcyfz added reviewers: alexfh, vmiklos.
omtcyfz added a subscriber: cfe-commits.
vmiklos edited edge metadata.Sep 15 2016, 12:56 AM

As mentioned earlier, I have no problem with merging rename-at and rename-all.

As mentioned earlier, I have no problem with merging rename-at and rename-all.

Good, thanks!

This revision was automatically updated to reflect the committed changes.
clang-tools-extra/trunk/unittests/CMakeLists.txt