[
https://issues.apache.org/jira/browse/MESOS-1181?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14170555#comment-14170555
]
Adam B commented on MESOS-1181:
-------------------------------
commit eaf703abcbd9720eedf53bc2e4fa2d84c80e4abc
Author: Adam B <[email protected]>
Date: Mon Oct 13 22:54:24 2014 -0700
Enabled whitespace/operators rule for cpplint.
Enabled whitespace/operators rule for cpplint, which covers the following:
You should always have whitespace around binary operators.
Missing spaces around <, >, or =
We allow no-spaces around << when used like this: 10<<20, but
not otherwise (particularly, not when used as streams)
There shouldn't be space around unary operators
Review: https://reviews.apache.org/r/19967
commit 68959c5496f7c185f41f429fa91b441ecea87cac
Author: Adam B <[email protected]>
Date: Mon Oct 13 22:52:04 2014 -0700
NOLINT a few operator overloads, to enable whitespace/operators
Review: https://reviews.apache.org/r/19967
commit 5d5b65e5722a21868315d80eb05428b11b4d87d0
Author: Adam B <[email protected]>
Date: Mon Oct 13 21:33:11 2014 -0700
Enabled whitespace/semicolon rule for cpplint.
You should always have a space after a semicolon except for few corner
cases
You shouldn't have a space before a semicolon at the end of the line.
There's a special case for "for" since the style guide allows space
before the semicolon there.
Review: https://reviews.apache.org/r/19965
> Improve cpplint rule coverage
> -----------------------------
>
> Key: MESOS-1181
> URL: https://issues.apache.org/jira/browse/MESOS-1181
> Project: Mesos
> Issue Type: Improvement
> Reporter: Adam B
> Assignee: Adam B
> Priority: Minor
> Labels: lint, style
>
> ReviewBot is checking our patches' style for us, and we can check it
> ourselves with support/mesos-style.py, but there are only a few rules enabled
> right now. I plan to enable more rules, fixing lint errors as needed. I'd
> also like to add new style rules for things like single/double line spacing.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)