]> granicus.if.org Git - clang/commit
[clang-rename] Rename alias.
authorHaojian Wu <hokein@google.com>
Wed, 18 Oct 2017 12:10:11 +0000 (12:10 +0000)
committerHaojian Wu <hokein@google.com>
Wed, 18 Oct 2017 12:10:11 +0000 (12:10 +0000)
commit977de9aa100fb9012a1c37d4b1f683b87846e65d
tree20d894663de0d9bdcf87ed828f209adee0062780
parentaed3a60e367b760d907954563f404458f9dbd478
[clang-rename] Rename alias.

Summary:
* Support rename alias.
* Add unittests for renaming alias.
* Don't generate fixes for the SourceLocations that are invalid or in temporary
  buffer, otherwise crash would be happened when generating AtomicChanges.

Reviewers: ioeric

Reviewed By: ioeric

Subscribers: klimek, mgorny, cfe-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@316074 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Tooling/Refactoring/Rename/USRLocFinder.cpp
unittests/Rename/CMakeLists.txt
unittests/Rename/RenameAliasTest.cpp [new file with mode: 0644]