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

NameValueComment
SLS_None0Never merge lambdas into a single line.
SLS_Empty1Only merge empty lambdas.
SLS_Inline2Merge lambda into a single line if argument of a function.
SLS_All3Merge all lambdas fitting on a single line.