https://llvm.org/bugs/show_bug.cgi?id=30582
Daniel Jasper <djas...@google.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |WONTFIX --- Comment #1 from Daniel Jasper <djas...@google.com> --- This behavior is intended as you basically have two different "binary" operators in a set of parenthese: "&&" and ",". Thus, clang-format uses the extra indentation to highlight that the second line is not just one more parameter to the surrounding function call. You can of course avoid that by either pulling out local variables or surrounding the &&-expression with parentheses. Again, this is intended. Imagine, you'd have an expression like: function(aaaa && bbbb, cccc, dddd && eeee, ffff); Obviously this is fabricated, but I have seen many cases, where the extra indentation makes the code significantly more obvious. -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs