brandb97 wrote: @owenca I actually think adding a new option would be better. The reason is that when users want to specify putting function bodies on a single line, without a new option, they would have to set AllowShortFunctionsOnASingleLine: Never AllowShortBlocksOnASingleLine: Always But such a setting would also cause shorter if and while blocks to be placed on a single line, which users might not want. With a new option, this problem wouldn’t occur.
https://github.com/llvm/llvm-project/pull/151428 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits