HazardyKnusperkeks wrote:

> It seems that this patch implements the new option without regard to the 
> relative precedence of the binary operators:
> 
> ```
> $ cat bar.cc
> foooooooooooo1 = foooooooooooo2 * foooooooooooo3 +
>                  foooooooooooo4 / foooooooooooo5 - foooooooooooo6;
> $ clang-format -style='{BinPackBinaryOperations: false}' bar.cc
> foooooooooooo1 = foooooooooooo2 *
>                  foooooooooooo3 +
>                  foooooooooooo4 /
>                  foooooooooooo5 -
>                  foooooooooooo6;
> $ 
> ```
> 
> @mydeveloperday @HazardyKnusperkeks @rymiel are you okay with this?

Per documentation that is exactly intended. So I'm in favor of that behavior.

https://github.com/llvm/llvm-project/pull/95013
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to