Here once ran an article about an interesting thing PHP_CodeSniffer. If in short, this tool allows you to check code for compliance with specified coding standards (variable names, tabs, line lengths, etc.). The beauty is that you can hang it like a hook in svn repository and ocenivat negligent developers. Or you can put the stage in continuous integration and to send angry notice someone like that.
So here, if there are equivalents for C++? All I saw was doing just the automatic reformatting of indents, gaps in the structures, the position of the brackets. But to set the standard and to reconcile with him?