What tool would you recommend to verify C++ source code styling? By C++ source code styling I mean, usage of indentation, spacing and newlines, howto format commenting, where to place bracket , naming of variable and classes etc.
Printable View
What tool would you recommend to verify C++ source code styling? By C++ source code styling I mean, usage of indentation, spacing and newlines, howto format commenting, where to place bracket , naming of variable and classes etc.
If not using the IDE real-time lint then I'd check out this free one:
http://astyle.sourceforge.net/
It's a command line app. You input the source with param which style to output.
It has several templates or styles for c++ already defined. I think you can define your
own but I've always used the canned styles.
Thank you for the feedback.
We would like to have a tool that only checks a developers adherence to a set of rules and for instance blocks an attempt to check-in that file. The application you mentioned changes the layout for us which we do not need at this moment.