[PATCH] D133087: [Docs] fix wrong example of warping class definitions
passw_passw via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Aug 31 20:49:49 PDT 2022
Passw created this revision.
Herald added a project: All.
Passw requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
example of
BraceWrapping
AfterClass
is wrong
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D133087
Files:
clang/docs/ClangFormatStyleOptions.rst
Index: clang/docs/ClangFormatStyleOptions.rst
===================================================================
--- clang/docs/ClangFormatStyleOptions.rst
+++ clang/docs/ClangFormatStyleOptions.rst
@@ -1439,12 +1439,12 @@
.. code-block:: c++
true:
- class foo {};
-
- false:
class foo
{};
+ false:
+ class foo {};
+
* ``BraceWrappingAfterControlStatementStyle AfterControlStatement``
Wrap control statements (``if``/``for``/``while``/``switch``/..).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D133087.457166.patch
Type: text/x-patch
Size: 512 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220901/96deb3df/attachment.bin>
More information about the cfe-commits
mailing list