I know this question has been asked here, however it was from 2010 and I was wondering if anybody knows of some recent ones made.
I'm looking into using a style checker to help enforce coding conventions at my current workplace. I see the following few options:
- A nice flexible way to enforce difference style conventions exist. Vera++ looked interesting and extendable.
- Use/hack Google's cpplint style checker (seems daunting)
- get access to the parse tree (preferably the AST) of the current file and perform checks on that.
#3 seems the most flexible and wondering whether anyone knows of a program or way to hook into the AST?