[clang] [clang-format] allow short function body on a single line (PR #151428)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Aug 28 19:55:43 PDT 2025
brandb97 wrote:
owenca ***@***.***> writes:
>
>
> @owenca commented on this pull request.
> In clang/unittests/Format/FormatTest.cpp:
> > +TEST_F(FormatTest, SplitShortFunction) {
> + FormatStyle Style = getLLVMStyleWithColumns(40);
>
> We've been consistently using auto in place of FormatStyle and other types for a few years now. Also, there's no need for ColumnLimit: 40 here now.
Understand, I will just remove them.
Thanks,
Lidong
https://github.com/llvm/llvm-project/pull/151428
More information about the cfe-commits
mailing list