Niklas Quarfot Nielsen created MESOS-2578:
---------------------------------------------
Summary: Add '{' on newline for function declarations in style
checker
Key: MESOS-2578
URL: https://issues.apache.org/jira/browse/MESOS-2578
Project: Mesos
Issue Type: Improvement
Reporter: Niklas Quarfot Nielsen
Priority: Trivial
Similar to MESOS-2577; another common style mistake is to not move curly braces
on a newline for function and class declarations:
{code}
class Foo {
void bar() {
...
}
};
{code}
vs
{code}
class Foo
{
void bar()
{
...
}
};
{code}
This should be easy to check with our style checker too.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)