Remove unwanted lines,dead code from source code?
- by Passionate programmer
How to make source code free of the following
Remove dead codes that are more than few lines between /* c++ codes */
Change more than one line breaks to one
Remove modified user name and date /*-------- MODIFICATION DONE by xyz on ------------*/
I have used a code formatter tool to get a nice formatted code but stuck with code with above items.Is there any way to make sure codes like above doesn't get in to svn and automatically formatted code gets into the source.