[PATCH] D102706: [clang-format] Add new LambdaBodyIndentation option

Vitali Lovich via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri May 21 15:31:29 PDT 2021


vlovich added a comment.

In D102706#2774018 <https://reviews.llvm.org/D102706#2774018>, @MyDeveloperDay wrote:

> Could you clang-format the tests please so I can more easily read them.

Sure. I was just taking my queue from the rest of the file which appeared to intentionally not clang-format the test strings.



================
Comment at: clang/docs/ClangFormatStyleOptions.rst:2790
 
+**LambdaBodyIndentation** (``LambdaBodyIndentationKind``)
+  What is the lambda body indented relative to (default is ``Signature``).
----------------
MyDeveloperDay wrote:
> Did you generate this by hand or using the clang/doc/tools/dump_style.py?
By hand. `dump_format_style` generates other changes (although I wasn't aware of it at the time). I'll regenerate just this section using that tool.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D102706/new/

https://reviews.llvm.org/D102706



More information about the cfe-commits mailing list