You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mesos.apache.org by "Niklas Quarfot Nielsen (JIRA)" <ji...@apache.org> on 2013/10/15 00:51:42 UTC

[jira] [Resolved] (MESOS-720) C++ Style checker

     [ https://issues.apache.org/jira/browse/MESOS-720?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Niklas Quarfot Nielsen resolved MESOS-720.
------------------------------------------

    Resolution: Fixed

Script added in https://reviews.apache.org/r/14559/

> C++ Style checker
> -----------------
>
>                 Key: MESOS-720
>                 URL: https://issues.apache.org/jira/browse/MESOS-720
>             Project: Mesos
>          Issue Type: Story
>            Reporter: Niklas Quarfot Nielsen
>            Assignee: Niklas Quarfot Nielsen
>            Priority: Minor
>              Labels: style
>
> To avoid style glitches, it would be handy to have a style checker to catch the most common (and hard to find) errors such as whitespaces, tabs, line widths and so forth.
> While it is not likely to find a fully compatible style checker, Google's cpplint can be configured to match a small subset of rules.
> An example of such a script can be found here:
> https://gist.github.com/nqn/6814621
> This is just an example, which find about 170 whitespace and readability errors in the current master branch. Can be configured to the extent needed.



--
This message was sent by Atlassian JIRA
(v6.1#6144)