[ 
https://issues.apache.org/jira/browse/MESOS-2275?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14969684#comment-14969684
 ] 

Jan Schlicht edited comment on MESOS-2275 at 10/22/15 7:10 PM:
---------------------------------------------------------------

The different levels are already separated by newline. {{clang-format}} will 
order "include blocks" separately.
So its
{code}
#include <foo.hpp>

#include <foo/bar.hpp>
{code}
already. I try to address this in the comment and the example (see the RR). Any 
suggestions for a better description are always welcome.


was (Author: nfnt):
The different levels are already separated by newline. `clang-format` will 
order "include blocks" separately.
So its
```
#include <foo.hpp>

#include <foo/bar.hpp>
```
already. I try to address this in the comment and the example (see the RR). Any 
suggestions for a better description are always welcome.

> Document header include rules in style guide
> --------------------------------------------
>
>                 Key: MESOS-2275
>                 URL: https://issues.apache.org/jira/browse/MESOS-2275
>             Project: Mesos
>          Issue Type: Improvement
>            Reporter: Niklas Quarfot Nielsen
>            Assignee: Jan Schlicht
>            Priority: Trivial
>              Labels: beginner, docathon, mesosphere
>
> We have several ways of sorting, grouping and ordering headers includes in 
> Mesos. We should agree on a rule set and do a style scan.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to