[llvm-branch-commits] [clang] release/22.x: [clang-format] Fix nested parsing of AlignAfterOpenBracket (#192283) (PR #205920)

Sergey Subbotin via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Jul 2 06:40:18 PDT 2026


ssubbotin wrote:

Heads-up: be11e2b3d25 introduced a regression on top of the fix — the `BAS_BlockIndent` case of the rewritten compat switch overwrites its own `BreakBeforeCloseBracket*` assignments with `false` and never sets `BreakAfterOpenBracket{BracedList,Function,If}`, so `AlignAfterOpenBracket: BlockIndent` now behaves like `Align` (details in #207186). 22.0 is not affected — the regression would ship with this cherry-pick. Suggest holding this backport until the fix (#207187) lands and cherry-picking both together.

https://github.com/llvm/llvm-project/pull/205920


More information about the llvm-branch-commits mailing list