kuzkry created this revision. kuzkry added reviewers: sstwcw, MyDeveloperDay. kuzkry added a project: clang-format. Herald added a project: All. kuzkry requested review of this revision. Herald added a project: clang. Herald added a subscriber: cfe-commits.
Misalignment of clang/docs/ClangFormatStyleOptions.rst and clang/include/clang/Format/Format.h was introduced in c24b3db45 <https://reviews.llvm.org/rGc24b3db45c7d0f08b423308723cd2e678a0cb7f1>. Regenerated with: python clang/docs/tools/dump_format_style.py Repository: rG LLVM Github Monorepo https://reviews.llvm.org/D121749 Files: clang/docs/ClangFormatStyleOptions.rst
Index: clang/docs/ClangFormatStyleOptions.rst =================================================================== --- clang/docs/ClangFormatStyleOptions.rst +++ clang/docs/ClangFormatStyleOptions.rst @@ -358,8 +358,8 @@ /* 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++ @@ -371,10 +371,9 @@ 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++ @@ -482,8 +481,8 @@ /* 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++ @@ -495,10 +494,9 @@ 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++ @@ -606,8 +604,8 @@ /* 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++ @@ -619,10 +617,9 @@ 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++ @@ -731,8 +728,8 @@ /* 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++ @@ -744,10 +741,9 @@ 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++
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits