llvm-project
8067b5cf - [clang-format] Add BreakAfterOpenBracket* and BreakBeforeCloseBracket* (#108332)

Commit
5 days ago
[clang-format] Add BreakAfterOpenBracket* and BreakBeforeCloseBracket* (#108332) Replace the `AlwaysBreak` and `BlockIndent` suboptions of `AlignAfterOpenBracket` with new style options `BreakAfterOpenBracket*` and `BreakBeforeCloseBracket*` for `*` in `BracedList` for braced list initializers, `if` for if conditional statements, `Loop` for loop control statements (for/while), `Switch` for switch statements, and `Function` for function calls/declarations/definitions. Deprecates `AlwaysBreak` and `BlockIndent`. Fixes #67738 Fixes #79176 Fixes #80123 Fixes #151844
Author
Parents
Loading