Refactoring


#1

@Bob_Obara @tj.corona I haven’t used it, but the refactorial project — which uses clang’s libtooling library to perform refactors — might make it easier to do some of the larger class renames. When I look at what git grep Manager returns in SMTK, I see possible problems with resource::Manager, operation::Manager, as well as paraview references to ServerManager, ProxyManager, etc.


#2

Looks interesting though its hasn’t been modified for 5 years and the pre-built binaries don’t exist - I wonder if it still works?

Bob

Robert M. O’Bara, MEng.
Assistant Director of Scientific Computing

Kitware Inc.
28 Corporate Drive
Suite 101
Clifton Park, NY 12065

Phone: (518) 881- 4931


#3

Does not compile -

Bob
Robert M. O’Bara, MEng.
Assistant Director of Scientific Computing

Kitware Inc.
28 Corporate Drive
Suite 101
Clifton Park, NY 12065

Phone: (518) 881- 4931


#4

In the newer llvm homebrew package, I see a clang-refactor executable (in /usr/local/Cellar/llvm/6.0.0/bin/) that looks like it might do what you want with local-rename. I have not tried it yet, though.