<div dir="ltr"><div class="gmail_extra">(peanut gallery comment from LLVm and Clang communities and a happy clang-format user)</div><div class="gmail_extra"><br></div><div class="gmail_extra">One thing to keep in mind is that clang-format is just a tool. You can use it, but you can also not use it when it doesn't serve your purpose. I still will at times manually format code correctly precisely because there is an art to laying it out so it looks clear. I just use clang-format to get me close to this first (often surprisingly close). And you can always just ignore it...</div>
<div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jul 22, 2014 at 2:29 PM, David Majnemer <span dir="ltr"><<a href="mailto:david.majnemer@gmail.com" target="_blank" class="cremed">david.majnemer@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">More importantly, there's somewhat of an art to laying out code so it looks clear and is easy to read.  These tools tend to make uglify such attempts, in my experience.<br>

</blockquote><div><br></div></div><div>clang-format has been, by all accounts that I know of, a smashing success in Clang and LLVM.  It is regularly used by many of the contributors and is often explicitly referenced when we see new code up for review that is not compliant with the coding standards.</div>
</blockquote></div><br>You might ask Jim Grosbach from LLVM land or some of the Clang hackers you know who are using clang-format regularly and successfully? They might be able to share experiences, pros, cons, etc.</div>
</div>