D
D
divanikus2010-09-22 22:52:44
Automation
divanikus, 2010-09-22 22:52:44

PHP_CodeSniffer analogue for C++

Here somehow ran an article about an interesting thing PHP_CodeSniffer. In short, this utility allows you to check the code for compliance with specified coding standards (variable names, tabs, line lengths, etc.). The beauty is that you can hang it as a hook on a commit to the repository and kick negligent developers. Well, or you can put a stage in continuous integration and send evil notifications to whomever you like.

So here, are there analogues for C ++? Everything I saw was just automatic reformatting - indents, spaces in constructions, position of brackets. But to set a standard and compare with it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
W
weirdan, 2010-09-24
@weirdan

kwStyle
Vera++
here some more are listed
Basically, any formatter + diff can be used to make a checker.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question