Skip to content

Commit 45cb2df

Browse files
kuzkrymkurdej
authored andcommitted
[clang-format][docs] Regenerate ClangFormatStyleOptions.rst
Misalignment of clang/docs/ClangFormatStyleOptions.rst and clang/include/clang/Format/Format.h was introduced in c24b3db. Regenerated with: python clang/docs/tools/dump_format_style.py Reviewed By: sstwcw, curdeius, HazardyKnusperkeks Differential Revision: https://reviews.llvm.org/D121749
1 parent 7733a61 commit 45cb2df

File tree

1 file changed

+20
-24
lines changed

1 file changed

+20
-24
lines changed

clang/docs/ClangFormatStyleOptions.rst

Lines changed: 20 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -358,8 +358,8 @@ the configuration (without a prefix: ``Auto``).
358358
/* A comment. */
359359
double e = 4;
360360
361-
* ``bool AlignCompound`` Only for ``AlignConsecutiveAssignments``. Whether compound
362-
assignments like ``+=`` are aligned along with ``=``.
361+
* ``bool AlignCompound`` Only for ``AlignConsecutiveAssignments``. Whether compound assignments
362+
like ``+=`` are aligned along with ``=``.
363363

364364
.. code-block:: c++
365365

@@ -371,10 +371,9 @@ the configuration (without a prefix: ``Auto``).
371371
a &= 2;
372372
bbb = 2;
373373

374-
* ``bool PadOperators`` Only for ``AlignConsecutiveAssignments``. Whether short
375-
assignment operators are left-padded to the same length as long
376-
ones in order to put all assignment operators to the right of
377-
the left hand side.
374+
* ``bool PadOperators`` Only for ``AlignConsecutiveAssignments``. Whether short assignment
375+
operators are left-padded to the same length as long ones in order to
376+
put all assignment operators to the right of the left hand side.
378377

379378
.. code-block:: c++
380379

@@ -482,8 +481,8 @@ the configuration (without a prefix: ``Auto``).
482481
/* A comment. */
483482
double e = 4;
484483
485-
* ``bool AlignCompound`` Only for ``AlignConsecutiveAssignments``. Whether compound
486-
assignments like ``+=`` are aligned along with ``=``.
484+
* ``bool AlignCompound`` Only for ``AlignConsecutiveAssignments``. Whether compound assignments
485+
like ``+=`` are aligned along with ``=``.
487486

488487
.. code-block:: c++
489488

@@ -495,10 +494,9 @@ the configuration (without a prefix: ``Auto``).
495494
a &= 2;
496495
bbb = 2;
497496

498-
* ``bool PadOperators`` Only for ``AlignConsecutiveAssignments``. Whether short
499-
assignment operators are left-padded to the same length as long
500-
ones in order to put all assignment operators to the right of
501-
the left hand side.
497+
* ``bool PadOperators`` Only for ``AlignConsecutiveAssignments``. Whether short assignment
498+
operators are left-padded to the same length as long ones in order to
499+
put all assignment operators to the right of the left hand side.
502500

503501
.. code-block:: c++
504502

@@ -606,8 +604,8 @@ the configuration (without a prefix: ``Auto``).
606604
/* A comment. */
607605
double e = 4;
608606
609-
* ``bool AlignCompound`` Only for ``AlignConsecutiveAssignments``. Whether compound
610-
assignments like ``+=`` are aligned along with ``=``.
607+
* ``bool AlignCompound`` Only for ``AlignConsecutiveAssignments``. Whether compound assignments
608+
like ``+=`` are aligned along with ``=``.
611609

612610
.. code-block:: c++
613611

@@ -619,10 +617,9 @@ the configuration (without a prefix: ``Auto``).
619617
a &= 2;
620618
bbb = 2;
621619

622-
* ``bool PadOperators`` Only for ``AlignConsecutiveAssignments``. Whether short
623-
assignment operators are left-padded to the same length as long
624-
ones in order to put all assignment operators to the right of
625-
the left hand side.
620+
* ``bool PadOperators`` Only for ``AlignConsecutiveAssignments``. Whether short assignment
621+
operators are left-padded to the same length as long ones in order to
622+
put all assignment operators to the right of the left hand side.
626623

627624
.. code-block:: c++
628625

@@ -731,8 +728,8 @@ the configuration (without a prefix: ``Auto``).
731728
/* A comment. */
732729
double e = 4;
733730
734-
* ``bool AlignCompound`` Only for ``AlignConsecutiveAssignments``. Whether compound
735-
assignments like ``+=`` are aligned along with ``=``.
731+
* ``bool AlignCompound`` Only for ``AlignConsecutiveAssignments``. Whether compound assignments
732+
like ``+=`` are aligned along with ``=``.
736733

737734
.. code-block:: c++
738735

@@ -744,10 +741,9 @@ the configuration (without a prefix: ``Auto``).
744741
a &= 2;
745742
bbb = 2;
746743

747-
* ``bool PadOperators`` Only for ``AlignConsecutiveAssignments``. Whether short
748-
assignment operators are left-padded to the same length as long
749-
ones in order to put all assignment operators to the right of
750-
the left hand side.
744+
* ``bool PadOperators`` Only for ``AlignConsecutiveAssignments``. Whether short assignment
745+
operators are left-padded to the same length as long ones in order to
746+
put all assignment operators to the right of the left hand side.
751747

752748
.. code-block:: c++
753749

0 commit comments

Comments
 (0)