vera++

vera++ is a tool for enforcement of C style rules. The rules themselves are written in Tcl, though the framework for managing everything is in C++.

Docs
https://bitbucket.org/verateam/vera/wiki/Home
Download
https://bitbucket.org/verateam/vera/downloads/ (also in various Linux package repositories)
Source
https://github.com/verateam/vera