You and daniel both imply that clang-tidy can sort across blocks.  Am I missing this somewhere?<br><br>My intention was to add an option for this in a followup patch because it doesn't seem to be able to currently.<br><div class="gmail_quote"><div dir="ltr">On Fri, Aug 12, 2016 at 8:21 AM Alexander Kornienko <<a href="mailto:alexfh@google.com">alexfh@google.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">alexfh accepted this revision.<br>
alexfh added a comment.<br>
This revision is now accepted and ready to land.<br>
<br>
The patch LG.<br>
<br>
In <a href="https://reviews.llvm.org/D23434#513533" rel="noreferrer" target="_blank">https://reviews.llvm.org/D23434#513533</a>, @djasper wrote:<br>
<br>
> I think we should entirely drop this implementation of the check and let it just check #includes with clang-format. clang-format's implementation isn't a strict superset, e.g. won't sort between multiple blocks, but that's intentional for now.<br>
<br>
<br>
Since sorting across blocks is frequently needed to make include order consistent with the LLVM coding standards, it makes sense to keep this check until clang-format is able to sort across blocks. Especially, since Zachary is specifically interested in this functionality.<br>
<br>
<br>
<a href="https://reviews.llvm.org/D23434" rel="noreferrer" target="_blank">https://reviews.llvm.org/D23434</a><br>
<br>
<br>
<br>
</blockquote></div>