jmr wrote:
> > [2nd example] `void f() { [] { return y; }(); }`
>
> the second one I'd argue is imo too complex to put onto a single line, but I
> understand this is a judgement call.
It seems like the rule should be that if the statement formats as one line and
it's short enough to put the whole function on one line, then it should all be
one line with short functions.
https://github.com/llvm/llvm-project/pull/234728
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits