I'm thinking on cleaning up my C++ code. Due to the accumulation of maintenance codes , I get a unreadable code. The useful code is flooded in a lot of unused pieces of code. For example :
// do someting (after the fix of the bug 455)
// do someting (earlier the fix of the bug 455)
All the defines are now defined for good in a .h file. Thus, there is no need any more to keep the code in the #else section.
Let me know if there is a tool or method that can help me on performing this.