summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/docs/clang-rename.rst
Commit message (Collapse)AuthorAgeFilesLines
* doc: Document that extra-arg/extra-arg-before can be used several timesSylvestre Ledru2019-12-241-0/+2
| | | | Hopefully, it will help other people
* Adjust documentation for git migration.James Y Knight2019-01-291-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes most references to the paths: llvm.org/svn/ llvm.org/git/ llvm.org/viewvc/ github.com/llvm-mirror/ github.com/llvm-project/ reviews.llvm.org/diffusion/ to instead point to https://github.com/llvm/llvm-project. This is *not* a trivial substitution, because additionally, all the checkout instructions had to be migrated to instruct users on how to use the monorepo layout, setting LLVM_ENABLE_PROJECTS instead of checking out various projects into various subdirectories. I've attempted to not change any scripts here, only documentation. The scripts will have to be addressed separately. Additionally, I've deleted one document which appeared to be outdated and unneeded: lldb/docs/building-with-debug-llvm.txt Differential Revision: https://reviews.llvm.org/D57330 llvm-svn: 352514
* [Documentation] Use HTTPS whenever possible.Eugene Zelenko2019-01-221-4/+4
| | | | | | Differential revision: https://reviews.llvm.org/D56926 llvm-svn: 351862
* clang-rename: add new -force optionMiklos Vajna2017-06-021-0/+1
| | | | | | | | | | | | | | | | | Summary: The use-case is when renaming a widely used name, like a lower-level class in a codebase and clang-rename is simply invoked for each translation unit based on the compile database. In this case it's not interesting to show errors: not finding the symbol means there is simply nothing to do. Reviewers: klimek Reviewed By: klimek Differential Revision: https://reviews.llvm.org/D32403 llvm-svn: 304534
* [clang-rename] Merge rename-{at|all} & optimise.Kirill Bobyrev2016-09-161-67/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
* reverting r281456Kirill Bobyrev2016-09-141-23/+71
| | | | llvm-svn: 281459
* [clang-rename] Merge rename-{at|all} & optimize.Kirill Bobyrev2016-09-141-71/+23
| | | | | | | | | | | | | | 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. Reviewers: alexfh Differential Revision: https://reviews.llvm.org/D24224 llvm-svn: 281456
* [Documentation] Improve consistency.Eugene Zelenko2016-08-101-10/+10
| | | | | | Mention Clang-rename Emacs integration in release notes. llvm-svn: 278295
* clang-rename YAML reader: address post-commit commentsMiklos Vajna2016-08-101-1/+1
| | | | llvm-svn: 278201
* clang-rename rename-all: support reading old/newname pairs from a YAML fileMiklos Vajna2016-08-091-7/+37
| | | | | | | | | | | 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
* [docs] fix typo in clang-rename docsKirill Bobyrev2016-08-031-3/+3
| | | | | | clang-rename is a refactoring tool, not "linter" tool. Fix typo in docs. llvm-svn: 277623
* [docs] Fix links format.Alexander Kornienko2016-08-021-2/+2
| | | | llvm-svn: 277517
* clang-rename: split existing options into two new subcommandsMiklos Vajna2016-08-021-5/+52
| | | | | | | | | | | | | | | - rename-at is meant to be integrated with editors and works mainly off of a location in a file, and this is the default - rename-all is optimized for one or more oldname->newname renames, and works with clang-apply-replacements Reviewers: bkramer, klimek Subscribers: omtcyfz Differential Revision: https://reviews.llvm.org/D21814 llvm-svn: 277438
* [clang-rename] add basic Emacs integrationKirill Bobyrev2016-08-021-7/+21
| | | | | | | | | | This patch aims to add very basic Emacs integration. Reviewers: hokein, alexfh Differential Revision: https://reviews.llvm.org/D23006 llvm-svn: 277433
* fix typo in clang-rename and clang-tidy docsKirill Bobyrev2016-07-271-1/+1
| | | | llvm-svn: 276871
* change Vim key binding for include-fixer and clang-renameKirill Bobyrev2016-07-271-3/+6
| | | | | | | | | | | | Change Vim key binding for include-fixer (`,cf` -> `<leader>cf`) and clang-rename (`,cr` -> `<leader>cr`) to use `<leader>` instead of `,` like cool Vim people (tm) do. Reviewers: ioeric Differential Revision: https://reviews.llvm.org/D22854 llvm-svn: 276870
* [clang-rename] add documentationBenjamin Kramer2016-07-141-0/+99
clang-rename needs at least to have a minimum documentation to provide a small introduction for new users Patch by Kirill Bobyrev! Differential Revision: http://reviews.llvm.org/D22129 llvm-svn: 275388
OpenPOWER on IntegriCloud