Skip to content

Commit

Permalink
[clang-format][docs] Regenerate ClangFormatStyleOptions.rst
Browse files Browse the repository at this point in the history
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
  • Loading branch information
kuzkry authored and mkurdej committed Mar 17, 2022
1 parent 7733a61 commit 45cb2df
Showing 1 changed file with 20 additions and 24 deletions.
44 changes: 20 additions & 24 deletions clang/docs/ClangFormatStyleOptions.rst
Expand Up @@ -358,8 +358,8 @@ the configuration (without a prefix: ``Auto``).
/* A comment. */
double e = 4;
* ``bool AlignCompound`` Only for ``AlignConsecutiveAssignments``. Whether compound
assignments like ``+=`` are aligned along with ``=``.
* ``bool AlignCompound`` Only for ``AlignConsecutiveAssignments``. Whether compound assignments
like ``+=`` are aligned along with ``=``.

.. code-block:: c++

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

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

.. code-block:: c++

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

.. code-block:: c++

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

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

.. code-block:: c++

Expand Down Expand Up @@ -606,8 +604,8 @@ the configuration (without a prefix: ``Auto``).
/* A comment. */
double e = 4;
* ``bool AlignCompound`` Only for ``AlignConsecutiveAssignments``. Whether compound
assignments like ``+=`` are aligned along with ``=``.
* ``bool AlignCompound`` Only for ``AlignConsecutiveAssignments``. Whether compound assignments
like ``+=`` are aligned along with ``=``.

.. code-block:: c++

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

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

.. code-block:: c++

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

.. code-block:: c++

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

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

.. code-block:: c++

Expand Down

0 comments on commit 45cb2df

Please sign in to comment.