MyDeveloperDay added a comment.
In D79293#2016410 <https://reviews.llvm.org/D79293#2016410>, @rmansfield wrote:
> Couple examples:
>
> void foo(int x) {
>
> for (unsigned int i = 0; i < x >> 1; i++) { }
>
> }
>
> and
>
> int i = 0;
>
> if (i < x >> 1) {}
>
>
> }
I don't deny there are places where this will fail, but that is clang-format
all over its a series of rules or the arrangement of token to produce the
desired result
I think we also have to say.. "who writes code like this" ;-)
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D79293/new/
https://reviews.llvm.org/D79293
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits