Skip to content

Commit 4a9594c

Browse files
committed
dump style
1 parent 3598dbe commit 4a9594c

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

clang/docs/ClangFormatStyleOptions.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,17 @@ the configuration (without a prefix: ``Auto``).
207207
someLongFunction(argument1, someLongFunction(argument1,
208208
argument2); argument2);
209209

210+
211+
.. note::
212+
213+
As of clang-format 22 this option is a bool with the previous
214+
option of ``Align`` replaced with ``true``, ``DontAlign`` replaced
215+
with ``false``, and the options of ``AlwaysBreak`` and ``BlockIndent``
216+
replaced with ``true`` and with setting of new style options using
217+
``BreakAfterOpenBracketBracedList``, ``BreakAfterOpenBracketFunction``,
218+
``BreakAfterOpenBracketIf``, ``BreakBeforeCloseBracketBracedList``,
219+
``BreakBeforeCloseBracketFunction``, and ``BreakAfterOpenBracketIf``.
220+
210221
This applies to round brackets (parentheses), angle brackets and square
211222
brackets.
212223

0 commit comments

Comments
 (0)