You and daniel both imply that clang-tidy can sort across blocks. Am I
missing this somewhere?

My intention was to add an option for this in a followup patch because it
doesn't seem to be able to currently.
On Fri, Aug 12, 2016 at 8:21 AM Alexander Kornienko <ale...@google.com>
wrote:

> alexfh accepted this revision.
> alexfh added a comment.
> This revision is now accepted and ready to land.
>
> The patch LG.
>
> In https://reviews.llvm.org/D23434#513533, @djasper wrote:
>
> > 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.
>
>
> 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.
>
>
> https://reviews.llvm.org/D23434
>
>
>
>
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to