enum FormatStyle::ShortLambdaStyle
Description
Different styles for merging short lambdas containing at most one statement.
Declared at: clang/include/clang/Format/Format.h:608
Enumerators
Name | Value | Comment |
---|---|---|
SLS_None | 0 | Never merge lambdas into a single line. |
SLS_Empty | 1 | Only merge empty lambdas. |
SLS_Inline | 2 | Merge lambda into a single line if argument of a function. |
SLS_All | 3 | Merge all lambdas fitting on a single line. |