Re: [PATCH] Ternary operator formatting fixes

2024-10-16 Thread Richard Biener
On Wed, 16 Oct 2024, Jakub Jelinek wrote: > Hi! > > While working on PR117028 C2Y changes, I've noticed weird ternary > operator formatting (operand1 ? operand2: operand3). > The usual formatting is operand1 ? operand2 : operand3 > where we have around 18000+ cases of that (counting only what fit

[PATCH] Ternary operator formatting fixes

2024-10-16 Thread Jakub Jelinek
Hi! While working on PR117028 C2Y changes, I've noticed weird ternary operator formatting (operand1 ? operand2: operand3). The usual formatting is operand1 ? operand2 : operand3 where we have around 18000+ cases of that (counting only what fits on one line) and indent -nbad -bap -nbc -bbo -bl -bli