]> granicus.if.org Git - clang/commitdiff
Indent code blocks so they are actually treated as such
authorStephan Bergmann <sbergman@redhat.com>
Fri, 17 Nov 2017 16:34:36 +0000 (16:34 +0000)
committerStephan Bergmann <sbergman@redhat.com>
Fri, 17 Nov 2017 16:34:36 +0000 (16:34 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@318530 91177308-0d34-0410-b5e6-96231b3b80d8

docs/ClangFormatStyleOptions.rst

index 8e3c5dad3c99cbf180520418f7fbb99865e07813..cf885d33f68626286ad21dda0b21d057eac7aea6 100644 (file)
@@ -994,9 +994,9 @@ the configuration (without a prefix: ``Auto``).
 
     .. code-block:: c++
 
-    Constructor()
-        : initializer1(),
-          initializer2()
+      Constructor()
+          : initializer1(),
+            initializer2()
 
   * ``BCIS_BeforeComma`` (in configuration: ``BeforeComma``)
     Break constructor initializers before the colon and commas, and align
@@ -1004,18 +1004,18 @@ the configuration (without a prefix: ``Auto``).
 
     .. code-block:: c++
 
-    Constructor()
-        : initializer1()
-        , initializer2()
+      Constructor()
+          : initializer1()
+          , initializer2()
 
   * ``BCIS_AfterColon`` (in configuration: ``AfterColon``)
     Break constructor initializers after the colon and commas.
 
     .. code-block:: c++
 
-    Constructor() :
-        initializer1(),
-        initializer2()
+      Constructor() :
+          initializer1(),
+          initializer2()