Is there a working C++ refactoring tool? [closed]

Solution 1:

Visual Assist and Visual Studio make dealing with large codebases much easier. Visual assist is good at tracking down how a class or member is used and is more effective at renaming it without false positives than search and replace.

Solution 2:

I find Visual Assist X with Visual Studio very useful. Another choice is Refactor for C++.

Solution 3:

I expect clang will significantly change the landscape of C++ refactoring tools out there over the next couple of years. It's an open-source, modular compiler that exposes an API for parsing and semantically analyzing C++ code. IDEs and other tools will be able to use this API rather than doing the difficult work of writing their own parser and semantic analyzer.

Google already made a large-scale refactoring tool using clang.