I need to process a large C++ codebase, renaming pretty much everything (classes, parameters, fields, methods, etc.). Do you know of any tools that could assist me in this job (apart from a text editor and a coffee maker)?
If you are using Visual Studio then you can use the plugin Visual Assit X for refactoring your code. For indentation purposes you can use indent utility.
You could take a look at Semantic Designs C++ Tools which seem to be pretty comprehensive although I've never used it.
It is rule based and understands the C++ language, rather than just being a reg exp search and replace utility, so it can do a whole lot more. The major caveat is that it's a commercial product, but the time it could save you and other longer term uses might be worth it to your company.
(BTW I have no connection to this company other than coming across it via this question.)
Please, do not downvote and please, do not remove. This is not a plug. Original post is asking exactly for this.
Our company provides services in this area. I.e. we work with the customer to figure out exactly what his coding standards are. After that we tweak our toolkit that makes the refactoring. This is semiautomatic process. Some things are fixed with automatic refactoring, some things are fixed manualy.
For additional info please, look at out web site http://cdsan.com/Services.php#svcs_dycs
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With