[PATCH] D112664: [clang-format][docs] fix indentation of rst code block

Mike via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 27 14:36:28 PDT 2021


Wirena created this revision.
Wirena added a reviewer: HazardyKnusperkeks.
Wirena requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D112664

Files:
  clang/docs/ClangFormatStyleOptions.rst


Index: clang/docs/ClangFormatStyleOptions.rst
===================================================================
--- clang/docs/ClangFormatStyleOptions.rst
+++ clang/docs/ClangFormatStyleOptions.rst
@@ -3821,16 +3821,16 @@
 
   .. code-block:: c++
 
-  before:                                   after:
-  Minimum: 1
-  //if (b) {                                // if (b) {
-  //  return true;                          //   return true;
-  //}                                       // }
-
-  Maximum: 0
-  /// List:                                 ///List:
-  ///  - Foo                                /// - Foo
-  ///    - Bar                              ///   - Bar
+     before:                                   after:
+     Minimum: 1
+     //if (b) {                                // if (b) {
+     //  return true;                          //   return true;
+     //}                                       // }
+
+     Maximum: 0
+     /// List:                                 ///List:
+     ///  - Foo                                /// - Foo
+     ///    - Bar                              ///   - Bar
 
   Nested configuration flags:
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D112664.382794.patch
Type: text/x-patch
Size: 1149 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20211027/d92632e3/attachment-0001.bin>


More information about the cfe-commits mailing list