Author: ericwf
Date: Wed Jun 14 22:38:08 2017
New Revision: 305450

URL: http://llvm.org/viewvc/llvm-project?rev=305450&view=rev
Log:
Correct documentation about the AfterClass clang-format option

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=305450&r1=305449&r2=305450&view=diff
==============================================================================
--- cfe/trunk/docs/ClangFormatStyleOptions.rst (original)
+++ cfe/trunk/docs/ClangFormatStyleOptions.rst Wed Jun 14 22:38:08 2017
@@ -521,12 +521,12 @@ the configuration (without a prefix: ``A
   .. code-block:: c++
 
     true:
-    class foo {};
-
-    false:
     class foo
     {};
 
+    false:
+    class foo {};
+
   * ``bool AfterControlStatement`` Wrap control statements 
(``if``/``for``/``while``/``switch``/..).
 
   .. code-block:: c++
@@ -603,12 +603,12 @@ the configuration (without a prefix: ``A
     struct foo
     {
       int x;
-    }
+    };
 
     false:
     struct foo {
       int x;
-    }
+    };
 
   * ``bool AfterUnion`` Wrap union definitions.
 


_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to