summaryrefslogtreecommitdiffstats
path: root/clang/docs/ClangFormatStyleOptions.rst
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2017-06-15 03:38:08 +0000
committerEric Fiselier <eric@efcs.ca>2017-06-15 03:38:08 +0000
commit1571faea629da1f78c6f66e54efeb5116f8e7a4e (patch)
tree227f1b6e32fb283e14ba9d0c3221e0eb9f81753c /clang/docs/ClangFormatStyleOptions.rst
parent6b3517ce1bd6dfb68ef7123e7495bb598a336d25 (diff)
downloadbcm5719-llvm-1571faea629da1f78c6f66e54efeb5116f8e7a4e.tar.gz
bcm5719-llvm-1571faea629da1f78c6f66e54efeb5116f8e7a4e.zip
Correct documentation about the AfterClass clang-format option
llvm-svn: 305450
Diffstat (limited to 'clang/docs/ClangFormatStyleOptions.rst')
-rw-r--r--clang/docs/ClangFormatStyleOptions.rst10
1 files changed, 5 insertions, 5 deletions
diff --git a/clang/docs/ClangFormatStyleOptions.rst b/clang/docs/ClangFormatStyleOptions.rst
index 9e0bacaf7c1..fb014241809 100644
--- a/clang/docs/ClangFormatStyleOptions.rst
+++ b/clang/docs/ClangFormatStyleOptions.rst
@@ -521,12 +521,12 @@ the configuration (without a prefix: ``Auto``).
.. 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: ``Auto``).
struct foo
{
int x;
- }
+ };
false:
struct foo {
int x;
- }
+ };
* ``bool AfterUnion`` Wrap union definitions.
OpenPOWER on IntegriCloud