<div dir="ltr">clang-format does not care about such "details" ;-). It needs to be robust enough anyway in order format code with syntax errors (at least to a limited degree).</div><div class="gmail_extra"><br><br>
<div class="gmail_quote">On Sat, Aug 31, 2013 at 5:38 AM, Sean Silva <span dir="ltr"><<a href="mailto:silvas@purdue.edu" target="_blank">silvas@purdue.edu</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"><div class="im">On Fri, Aug 30, 2013 at 6:36 AM, Daniel Jasper <span dir="ltr"><<a href="mailto:djasper@google.com" target="_blank">djasper@google.com</a>></span> wrote:<br></div><div class="gmail_extra">
<div class="gmail_quote"><div class="im">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Almost by accident, clang-format seems to be able to format protocol<br>
buffer definitions (<a href="https://code.google.com/p/protobuf/" target="_blank">https://code.google.com/p/protobuf/</a>).<br></blockquote><div><br></div></div><div>wtf? Can you maybe explain how this can possibly work?</div>

<div><br></div><div>E.g. how "message" is being accepted in place of "struct"/"class" and how "required" can be accepted in front of a declaration?</div><span class="HOEnZb"><font color="#888888"><div>
<br></div><div>-- Sean Silva</div>
<div> </div></font></span></div></div></div>
</blockquote></div><br></div>