putongdeshu / google-styleguide

Automatically exported from code.google.com/p/google-styleguide
0 stars 0 forks source link

Forced return value in cpplint #28

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The cpplint returns non-zero when there is at least one message. If the cpplint 
is started from a make file, the non-zero return value will stop.

Proposal is to add "--return=value" option that forces the script return the 
given value even when there is messages (see PC-lint -zero).

Attached batch adds the option to the cpplint and it has been tested with cmake 
+ Visual Studio 2013.

Original issue reported on code.google.com by ksole...@gmail.com on 1 Oct 2014 at 7:15

Attachments: