[all-commits] [llvm/llvm-project] e0a21e: [clang-format] Add BinPackLongBracedList style opt...
Gedare Bloom via All-commits
all-commits at lists.llvm.org
Fri Feb 7 22:10:57 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e0a21e23a7aa6acf3e07b866c3c599db5eb4b67f
https://github.com/llvm/llvm-project/commit/e0a21e23a7aa6acf3e07b866c3c599db5eb4b67f
Author: Gedare Bloom <gedare at rtems.org>
Date: 2025-02-07 (Fri, 07 Feb 2025)
Changed paths:
M clang/docs/ClangFormatStyleOptions.rst
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Format/Format.h
M clang/lib/Format/Format.cpp
M clang/lib/Format/FormatToken.cpp
M clang/unittests/Format/ConfigParseTest.cpp
M clang/unittests/Format/FormatTest.cpp
Log Message:
-----------
[clang-format] Add BinPackLongBracedList style option (#112482)
The use of Cpp11BracedListStyle with BinPackArguments=False avoids bin
packing until reaching a hard-coded limit of 20 items. This is an
arbitrary choice. Introduce a new style option to allow disabling this
limit.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list