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++.