[clang] [clang-format] fix aligning inheritance lists and binary operator operands with UT_AlignWithSpaces (PR #189218)
Eugene Shalygin via cfe-commits
cfe-commits at lists.llvm.org
Wed Apr 1 05:59:20 PDT 2026
================
@@ -1238,6 +1238,22 @@ unsigned ContinuationIndenter::addTokenOnNewLine(LineState &State,
}
}
+ switch (Style.BreakInheritanceList) {
+ case FormatStyle::BILS_BeforeColon:
+ case FormatStyle::BILS_AfterComma:
+ CurrentState.IsAligned |=
----------------
zeule wrote:
Replaced with `var = var || ...`.
https://github.com/llvm/llvm-project/pull/189218
More information about the cfe-commits
mailing list