[clang-format][docs] Fix indentation for the Sphinx build
authorOwen Pan <owenpiano@gmail.com>
Sun, 1 Jan 2023 23:13:36 +0000 (15:13 -0800)
committerOwen Pan <owenpiano@gmail.com>
Sun, 1 Jan 2023 23:13:36 +0000 (15:13 -0800)
See https://reviews.llvm.org/D140543#4021209.

clang/docs/ClangFormatStyleOptions.rst
clang/include/clang/Format/Format.h

index 989c91e..b69a115 100644 (file)
@@ -3166,9 +3166,9 @@ the configuration (without a prefix: ``Auto``).
   Nested configuration flags:
 
   Separator format of integer literals of different bases.
-  <0: Remove separators.
-   0: Leave the literal as is.
-  >0: Insert separators between digits, starting from the rightmost digit.
+  If <0: Remove separators.
+  If  0: Leave the literal as is.
+  If >0: Insert separators between digits starting from the rightmost digit.
 
   * ``int8_t Binary`` .. code-block:: c++
 
index 9162028..514ef16 100644 (file)
@@ -2451,9 +2451,9 @@ struct FormatStyle {
   TrailingCommaStyle InsertTrailingCommas;
 
   /// Separator format of integer literals of different bases.
-  /// <0: Remove separators.
-  ///  0: Leave the literal as is.
-  /// >0: Insert separators between digits, starting from the rightmost digit.
+  /// If <0: Remove separators.
+  /// If  0: Leave the literal as is.
+  /// If >0: Insert separators between digits starting from the rightmost digit.
   struct IntegerLiteralSeparatorStyle {
     /// \code
     ///    -1: 0b100111101101