[PATCH] D39043: [clang-rename] Rename alias.

Haojian Wu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 18 03:36:26 PDT 2017


hokein created this revision.
Herald added subscribers: mgorny, klimek.

- 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.


https://reviews.llvm.org/D39043

Files:
  lib/Tooling/Refactoring/Rename/USRLocFinder.cpp
  unittests/Rename/CMakeLists.txt
  unittests/Rename/RenameAliasTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D39043.119451.patch
Type: text/x-patch
Size: 19194 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20171018/4347ea11/attachment-0001.bin>


More information about the cfe-commits mailing list