r318530 - Indent code blocks so they are actually treated as such

Stephan Bergmann via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 17 08:34:37 PST 2017


Author: sberg
Date: Fri Nov 17 08:34:36 2017
New Revision: 318530

URL: http://llvm.org/viewvc/llvm-project?rev=318530&view=rev
Log:
Indent code blocks so they are actually treated as such

Modified:
    cfe/trunk/docs/ClangFormatStyleOptions.rst

Modified: cfe/trunk/docs/ClangFormatStyleOptions.rst
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/docs/ClangFormatStyleOptions.rst?rev=318530&r1=318529&r2=318530&view=diff
==============================================================================
--- cfe/trunk/docs/ClangFormatStyleOptions.rst (original)
+++ cfe/trunk/docs/ClangFormatStyleOptions.rst Fri Nov 17 08:34:36 2017
@@ -994,9 +994,9 @@ the configuration (without a prefix: ``A
 
     .. 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: ``A
 
     .. 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()
 
 
 




More information about the cfe-commits mailing list