[PATCH] D102706: [clang-format] Add new LambdaBodyIndentation option
Vitali Lovich via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue May 18 13:01:51 PDT 2021
vlovich added a comment.
In D102706#2766680 <https://reviews.llvm.org/D102706#2766680>, @HazardyKnusperkeks wrote:
> Maybe a bit more test cases with smaller lambdas? Or without the outer parenthesis?
I'm not sure I understand this comment. Which test case are you referring to by "or without the outer parenthesis"?
================
Comment at: clang/include/clang/Format/Format.h:2456
+ enum LambdaBodyIndentationKind : unsigned char {
+ /// Align lambda body relative to the lambda signature. This is the default.
+ LBI_Signature,
----------------
HazardyKnusperkeks wrote:
> I think you should add examples, because for me it is not 100% what's the difference is.
Good idea. Meant to do that & forgot. In terms of an example, do you find the test case or description in the phabricator message useful or are you looking for something else?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D102706/new/
https://reviews.llvm.org/D102706
More information about the cfe-commits
mailing list