From 1571faea629da1f78c6f66e54efeb5116f8e7a4e Mon Sep 17 00:00:00 2001 From: Eric Fiselier Date: Thu, 15 Jun 2017 03:38:08 +0000 Subject: Correct documentation about the AfterClass clang-format option llvm-svn: 305450 --- clang/docs/ClangFormatStyleOptions.rst | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'clang') 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. -- cgit v1.2.1