<div dir="ltr">I think we might just want to change the existing option BreakConstructorInitializersBeforeComma to do exactly this. WebKit style is the only style using it and I agree that the style guide is explicit in this regard.</div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Dec 5, 2013 at 10:50 PM, Nico Weber <span dir="ltr"><<a href="mailto:thakis@chromium.org" target="_blank">thakis@chromium.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">(This is what WebKit style asks for too: <a href="http://www.webkit.org/coding/coding-style.html" target="_blank">http://www.webkit.org/coding/coding-style.html</a> , "Other Punctuation" point 1. So if this goes in, maybe you can set to true for webkit style.)</div>

<div class="gmail_extra"><br><br><div class="gmail_quote"><div><div class="h5">On Thu, Dec 5, 2013 at 10:23 AM, Florian Sowade <span dir="ltr"><<a href="mailto:f.sowade@r9e.de" target="_blank">f.sowade@r9e.de</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
Hi,<br>
<br>
the attached patch adds a clang-format option to always break<br>
constructor initializers before the initial colon.<br>
<br>
So this patch adds an option to turn<br>
<br>
Constructor : foo(bar)<br>
{}<br>
<br>
into<br>
<br>
Constructor<br>
    : foo(bar)<br>
{}<br>
<br>
I don't know if this style is widely distributed, but I use it to<br>
minimize the diff when I add new members to the list of constructor<br>
initializers, since I can add a second member to the list without<br>
modifying any of the existing lines:<br>
<br>
Constructor<br>
    : foo(bar)<br>
    , baz()<br>
{}<br>
<br>
>From my understanding this is not possible with the current set of<br>
options.<br>
<span><font color="#888888"><br>
Florian Sowade<br>
</font></span><br></div></div>_______________________________________________<br>
cfe-commits mailing list<br>
<a href="mailto:cfe-commits@cs.uiuc.edu" target="_blank">cfe-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits</a><br>
<br></blockquote></div><br></div>
<br>_______________________________________________<br>
cfe-commits mailing list<br>
<a href="mailto:cfe-commits@cs.uiuc.edu">cfe-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits</a><br>
<br></blockquote></div><br></div>