r305450 - Correct documentation about the AfterClass clang-format option
Eric Fiselier via cfe-commits
cfe-commits at lists.llvm.org
Wed Jun 14 20:38:08 PDT 2017
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.
More information about the cfe-commits
mailing list