A free tool to check C/C++ source code against a set of coding standards? [closed]

The only tool I know is Vera. Haven't used it, though, so can't comment how viable it is. Demo looks promising.


Google c++lint from Google code style guide.


I'm sure this could help to some degree cxx checker. Also this tool seems to be pretty good KWStyle It's from Kitware, the guys who develop Cmake.


Not exactly what you ask for, but I've found it easier to just all agree on a coding standard astyle can generate and then automate the process.


Try nsiqcppstyle. It's a Python based coding style checker for C/C++. It's easy to extend to add your own rules.