diff options
author | Eric Fiselier <eric@efcs.ca> | 2017-06-15 03:38:08 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2017-06-15 03:38:08 +0000 |
commit | 1571faea629da1f78c6f66e54efeb5116f8e7a4e (patch) | |
tree | 227f1b6e32fb283e14ba9d0c3221e0eb9f81753c /clang | |
parent | 6b3517ce1bd6dfb68ef7123e7495bb598a336d25 (diff) | |
download | bcm5719-llvm-1571faea629da1f78c6f66e54efeb5116f8e7a4e.tar.gz bcm5719-llvm-1571faea629da1f78c6f66e54efeb5116f8e7a4e.zip |
Correct documentation about the AfterClass clang-format option
llvm-svn: 305450
Diffstat (limited to 'clang')
-rw-r--r-- | clang/docs/ClangFormatStyleOptions.rst | 10 |
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. |