<div dir="ltr">On Sun, Jul 21, 2013 at 2:49 PM, Sebastian Redl <span dir="ltr"><<a href="mailto:sebastian.redl@getdesigned.at" target="_blank">sebastian.redl@getdesigned.at</a>></span> wrote:<br><div class="gmail_extra">
<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div class="im"><br><div><div>On 20.07.2013, at 09:46, Arji Cot wrote:</div>
<br><blockquote type="cite">I noticed that all the 4 style available by default ( LLVM, Google, Chromium, Mozilla ) are basically the same with little to no variation, the first thing that I noticed is the lack of the Allman style, which is quite popular style for formatting C and C++ code, but is also one of the most readable style: the lack of the Allman style is something done on purpose ( for some reason ) or it's just not available yet ?<br>
<br>I'm asking this question simply because Allman is really popular and I found strange that not even after tweaking ( <a href="http://clang.llvm.org/doxygen/structclang_1_1format_1_1FormatStyle.html" target="_blank">http://clang.llvm.org/doxygen/structclang_1_1format_1_1FormatStyle.html</a> ) clang-format a little I got a real Allman style or something that I'm just happy with, looks like that clang-format is designed to keep a certain style in any case.<br>
</blockquote><br></div></div><div>Clang-format's style support is developed on an as-needed basis. Obviously the first style supported was LLVM style. The other styles are supported because developers who use those styles (read: general Google devs, Chromium devs, and Mozilla devs) wanted to use clang-format and put in the options to use the style.</div>
<div><br></div><div>None of these styles use Allman indentation, which is the only reason it's not supported.</div></div></blockquote><div><br></div><div>I'd add: patches welcome :)</div><div><br></div><div>Cheers,</div>
<div>/Manuel</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><span class="HOEnZb"><font color="#888888"><div><br></div>
<div>Sebastian</div><br></font></span></div><br>_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@cs.uiuc.edu">cfe-dev@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a><br>
<br></blockquote></div><br></div></div>