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

Drealmer picture Drealmer · Sep 18, 2008 · Viewed 119.4k times · Source

It looks quite easy to find such a tool for Java (Checkstyle, JCSC), but I can't seem to find one for C/C++. I am not looking for a lint-like static code analyzer, I only would like to check against coding standards like variable naming, capitalization, spacing, identation, bracket placement, and so on.

Answer

yrp picture yrp · Sep 18, 2008

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