[PATCH] Clang Rename Tool

Matthew Plant mplant at google.com
Thu Jul 31 01:46:14 PDT 2014


Hi klimek,

This is the first patch for the clang rename tool. In order to reduce the amount of code in this patch, a fair amount of code has been removed from USRFinder.cpp and USRLocFinder.cpp, at the request of Manuel. This reduces the functionality of the tool to just renaming variables, and wont rename them in all contexts. The remaining code will be added when it is found to be appropriate (it does in fact exist; I have it in a tar in my home directory).

It builds fine, and I can run the program just fine on my home laptop as well as my work computer.

http://reviews.llvm.org/D4739

Files:
  CMakeLists.txt
  Makefile
  clang-rename/CMakeLists.txt
  clang-rename/ClangRename.cpp
  clang-rename/Makefile
  clang-rename/USRFinder.cpp
  clang-rename/USRFinder.h
  clang-rename/USRLocFinder.cpp
  clang-rename/USRLocFinder.h
  test/CMakeLists.txt
  test/clang-rename/VarTest.cpp
  test/clang-rename/rename_test.py
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D4739.12059.patch
Type: text/x-patch
Size: 42431 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140731/b0b41fa7/attachment.bin>


More information about the cfe-commits mailing list