Open akbyrd opened 2 months ago
@llvm/issue-subscribers-clang-format
Author: Adam Byrd (akbyrd)
I think this is a general issue with all values of AlignAfterOpenBracket
applied to lambdas. Parameters are always aligned near the opening paren. This means none of DontAlign
, BlockIndent
, or AlwaysBreak
behave as expected.
Version: 18.1.8
Config
Input
Actual Output
Expected Output
Notice the closing paren for the lambda is not moved to a new line as with the function. Also, bin packing is not applied.