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

MyDeveloperDay via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat May 22 09:04:08 PDT 2021


MyDeveloperDay added a comment.

I personally like to keep clang-format and clang-format tests clang formatted all the time so we have a reasonable set of "clang-format-clean" code we can sanity check any change against, the more of LLVM that can be clean the better our testing can be.



================
Comment at: clang/docs/ClangFormatStyleOptions.rst:2790
 
+**LambdaBodyIndentation** (``LambdaBodyIndentationKind``)
+  What is the lambda body indented relative to (default is ``Signature``).
----------------
vlovich wrote:
> 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.
it shouldn't, that probably means someone has made a change without keeping them consistent..I'll take a look at that.


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

https://reviews.llvm.org/D102706



More information about the cfe-commits mailing list