[PATCH] D53520: Update the example of BS_Stroustrup to match what is done by clang-format
Krasimir Georgiev via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Oct 22 13:58:38 PDT 2018
krasimir requested changes to this revision.
krasimir added inline comments.
This revision now requires changes to proceed.
================
Comment at: docs/ClangFormatStyleOptions.rst:904
* ``BS_Stroustrup`` (in configuration: ``Stroustrup``)
- Like ``Attach``, but break before function definitions, ``catch``, and
- ``else``.
+ Always break before braces.
----------------
Looking into this, I think your update of the example below is correct, but the description should stay as-is:
```Like ``Attach``, but break before function definitions,...```
The `Always break before braces` should still apply to the `BS_Allman` option below.
Am I missing something here?
Repository:
rC Clang
https://reviews.llvm.org/D53520
More information about the cfe-commits
mailing list